Changeset 63 in dev for BasicCompiler32/Compile_ProcOp.cpp
- Timestamp:
- Feb 23, 2007, 2:12:26 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_ProcOp.cpp
r55 r63 515 515 516 516 //実体クラスを持つメンバのコンストラクタ(引数有りを除く)を呼び出す 517 int offset;518 int MemberTypeSize;519 int MemberObjectNum;520 if(pobj_CompilingClass->vtbl_num) offset=PTR_SIZE;521 else offset=0;522 517 for(i3=0;i3<pobj_CompilingClass->iMemberNum;i3++){ 523 518 CMember *pMember = pobj_CompilingClass->ppobj_Member[i3]; 524 MemberTypeSize=519 int MemberTypeSize= 525 520 GetTypeSize(pMember->TypeInfo.type, 526 521 pMember->TypeInfo.u.lpIndex); 527 522 528 MemberObjectNum=523 int MemberObjectNum= 529 524 JumpSubScripts(pMember->SubScripts); 530 525 531 offset=GetSizeOfClassMember(pobj_CompilingClass,pMember->name,NULL);526 int offset = pobj_CompilingClass->GetMemberOffset( pMember->name, NULL ); 532 527 533 528 if(pMember->TypeInfo.type==DEF_OBJECT && pMember->IsRef() == false){ … … 561 556 pobj_CompilingClass->IsAbstract()==false){ 562 557 //関数テーブルに値をセット 563 offset=pobj_CompilingClass->GetVtblGlobalOffset();558 int offset = (int)pobj_CompilingClass->GetVtblGlobalOffset(); 564 559 565 560 //mov eax,offset
Note:
See TracChangeset
for help on using the changeset viewer.