Changeset 436 in dev for trunk/abdev/BasicCompiler64/Compile_Var.cpp
- Timestamp:
- Mar 15, 2008, 3:33:36 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/Compile_Var.cpp
r425 r436 142 142 int reg=REG_NON; 143 143 Type type; 144 BOOL bUseHeap; 145 NumOpe( ®, pParm[i], Type( DEF_LONG ), type, &bUseHeap ); 146 if( type.IsObject() ){ 144 bool isNeedHeapFreeStructure; 145 NumOpe( ®, pParm[i], Type( DEF_LONG ), type, &isNeedHeapFreeStructure ); 146 if( type.IsObject() ) 147 { 147 148 //キャスト演算子のオーバーロードに対応する 148 149 CallCastOperatorProc(reg, 149 150 type, 150 bUseHeap, Type(DEF_LONG) );151 isNeedHeapFreeStructure, Type(DEF_LONG) ); 151 152 type.SetBasicType( DEF_LONG ); 152 153 } 153 154 154 if( !type.IsWhole() ){ 155 if( !type.IsWhole() ) 156 { 155 157 SetError(46,NULL,cp); 156 158 }
Note:
See TracChangeset
for help on using the changeset viewer.