Changeset 332 in dev for trunk/abdev/BasicCompiler32/Compile_Object.cpp
- Timestamp:
- Sep 27, 2007, 3:37:06 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_Object.cpp
r319 r332 16 16 //をセットしておかなければならない 17 17 18 19 const Delegate *pBackConstructingDelegate; 20 if( pobj_c->IsDelegate() ) 21 { 22 // デリゲートの場合はオーバーロード解決用のグローバル変数をセットする 23 extern const Delegate *pConstructingDelegate; 24 pBackConstructingDelegate = pConstructingDelegate; 25 pConstructingDelegate = &pobj_c->GetDelegate(); 26 } 27 28 18 29 /* //jnzのジャンプ先番地 19 30 extern int obp; … … 95 106 */ 96 107 } 108 109 if( pobj_c->IsDelegate() ) 110 { 111 // デリゲートの場合はオーバーロード解決用のグローバル変数を元に戻す 112 extern const Delegate *pConstructingDelegate; 113 pConstructingDelegate = pBackConstructingDelegate; 114 } 97 115 } 98 116 void Operator_New( const CClass &classObj, const char *objectSizeStr, const char *parameter, const Type &baseType ){
Note:
See TracChangeset
for help on using the changeset viewer.