Changeset 50 in dev for BasicCompiler64/Compile_Object.cpp
- Timestamp:
- Feb 10, 2007, 5:44:58 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/Compile_Object.cpp
r31 r50 2 2 #include "opcode.h" 3 3 4 void CallConstructor(CClass *pobj_c,char *CreateParameter,int ObjectSize,BOOL bSomeObjects){4 void _call_constructor(CClass *pobj_c,char *CreateParameter,int ObjectSize,BOOL bSomeObjects){ 5 5 //////////////////////////// 6 6 // コンストラクタの呼び出し … … 32 32 //////////////////////// 33 33 34 SUBINFO **ppsi; 34 std::vector<SUBINFO *> subs; 35 pobj_c->EnumMethod( pobj_c->name, subs ); 36 35 37 SUBINFO *psi; 36 int num; 37 ppsi=GetOverloadObjectSubHash(pobj_c->name,pobj_c,&num); 38 if(num){ 38 if( subs.size() > 0 ){ 39 39 //オーバーロードを解決 40 40 psi=OverloadSolutionWithStrParam(pobj_c->name, 41 ppsi,num,CreateParameter,"",NULL); 42 HeapDefaultFree(ppsi); 41 subs,CreateParameter,"",NULL); 43 42 44 43 if(!psi) return; … … 227 226 //////////////////////////// 228 227 229 CallConstructor(pobj_c,CreateParameter,TypeSize,bSomeObjects);228 _call_constructor(pobj_c,CreateParameter,TypeSize,bSomeObjects); 230 229 231 230
Note:
See TracChangeset
for help on using the changeset viewer.