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_CallProc.cpp

    r50 r51  
    9595
    9696void Opcode_CallProc(char *Parameter,SUBINFO *psi,DWORD dwFlags,char *ObjectName,int RefType){
    97     int i,i2;
     97    int i2;
    9898
    9999    if(psi->dwType==SUBTYPE_MACRO){
     
    338338        OpBuffer[obp++]=(char)0x11;
    339339
    340         for(i=0,i2=0;i<pobj_c->iMethodNum;i++){
    341             if(pobj_c->ppobj_Method[i]->psi==psi) break;
    342             if(pobj_c->ppobj_Method[i]->psi->bVirtual) i2++;
    343         }
     340        i2 = pobj_c->GetFuncNumInVtbl( psi );
    344341
    345342        //call dword ptr[edx+func_index]
Note: See TracChangeset for help on using the changeset viewer.