Changeset 51 in dev for BasicCompiler32/Compile_Func.cpp


Ignore:
Timestamp:
Feb 10, 2007, 8:30:19 PM (18 years ago)
Author:
dai_9181
Message:

ppobj_Member及びppobj_StaticMemberを廃止し、vectorに統一した(methods及びstaticMethods)。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler32/Compile_Func.cpp

    r50 r51  
    324324        OpBuffer[obp++]=(char)0x11;
    325325
    326         int i,i2;
    327         for(i=0,i2=0;i<pobj_c->iMethodNum;i++){
    328             if(pobj_c->ppobj_Method[i]->psi==psi) break;
    329             if(pobj_c->ppobj_Method[i]->psi->bVirtual) i2++;
    330         }
     326        int i2 = pobj_c->GetFuncNumInVtbl( psi );
    331327
    332328        //mov eax,dword ptr[edx+func_index]
Note: See TracChangeset for help on using the changeset viewer.