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
  • BasicCompiler64/Compile_CallProc.cpp

    r50 r51  
    9797
    9898void Opcode_CallProc(char *Parameter,SUBINFO *psi,DWORD dwFlags,char *ObjectName,int RefType){
    99     int i,i2;
     99    int i2;
    100100
    101101    if(psi->dwType==SUBTYPE_MACRO){
     
    348348        op_mov_RM(sizeof(_int64),REG_R11,REG_RCX,0,MOD_BASE);
    349349
    350         for(i=0,i2=0;i<pobj_c->iMethodNum;i++){
    351             if(pobj_c->ppobj_Method[i]->psi==psi) break;
    352             if(pobj_c->ppobj_Method[i]->psi->bVirtual) i2++;
    353         }
     350        i2 = pobj_c->GetFuncNumInVtbl( psi );
    354351
    355352        //call qword ptr[r11+func_index]
Note: See TracChangeset for help on using the changeset viewer.