Changeset 436 in dev for trunk/abdev/BasicCompiler32/Compile_Var.cpp
- Timestamp:
- Mar 15, 2008, 3:33:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_Var.cpp
r424 r436 116 116 for(i=i3-1;i>=0;i--){ 117 117 Type tempType; 118 BOOL bUseHeap; 119 NumOpe( pParm[i], Type( DEF_LONG ), tempType, &bUseHeap ); 120 if( tempType.IsObject() ){ 118 bool isNeedHeapFreeStructure; 119 NumOpe( pParm[i], Type( DEF_LONG ), tempType, &isNeedHeapFreeStructure ); 120 if( tempType.IsObject() ) 121 { 121 122 //キャスト演算子のオーバーロードに対応する 122 123 CallCastOperatorProc( 123 124 tempType, 124 bUseHeap, Type(DEF_LONG) );125 isNeedHeapFreeStructure, Type(DEF_LONG) ); 125 126 tempType.SetBasicType( DEF_LONG ); 126 127 } … … 130 131 compiler.codeGenerator.op_pop(REG_EAX); 131 132 132 for(i2=i+1,i4=1;i2<i3;i2++) i4*=subscripts[i2]+1; 133 for( i2=i+1, i4=1; i2<i3; i2++ ) 134 { 135 i4*=subscripts[i2]+1; 136 } 133 137 134 138 //imul eax,i4
Note:
See TracChangeset
for help on using the changeset viewer.