Changeset 66 in dev for BasicCompiler32/CParameter.cpp
- Timestamp:
- Mar 9, 2007, 4:59:13 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/CParameter.cpp
r64 r66 66 66 nCountOfTempObjects++; 67 67 68 if( type == DEF_OBJECT ){68 if( type != DEF_STRUCT ){ 69 69 //一時参照を作成 70 70 … … 114 114 op_call(pSub_free); 115 115 } 116 else if( types[i2].type == DEF_OBJECT ){117 op_pop( REG_NON );118 op_pop( REG_NON );119 }120 116 else{ 121 SetError(300,NULL,cp); 122 } 123 117 if( Is64Type( types[i2].type ) ){ 118 //pop ... 参照を消す 119 //pop ... 上位32ビット 120 //pop ... 下位32ビット 121 op_add_esp( PTR_SIZE * 3 ); 122 } 123 else{ 124 //pop ... 参照を消す 125 //pop ... 値を消す 126 op_add_esp( PTR_SIZE * 2 ); 127 } 128 } 124 129 } 125 130 } … … 363 368 //一時オブジェクトをコピー 364 369 365 if( types[i2].type == DEF_OBJECT ){370 if( types[i2].type != DEF_STRUCT ){ 366 371 // 一時参照のための領域を考慮する 367 372 nCountOfNowTempObjects++;
Note:
See TracChangeset
for help on using the changeset viewer.