Changeset 51 in dev for BasicCompiler64/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
  • BasicCompiler64/Compile_Func.cpp

    r50 r51  
    172172        op_mov_RM(sizeof(_int64),REG_R11,REG_RCX,0,MOD_BASE);
    173173
    174         int i,i2;
    175         for(i=0,i2=0;i<pobj_c->iMethodNum;i++){
    176             if(pobj_c->ppobj_Method[i]->psi==psi) break;
    177             if(pobj_c->ppobj_Method[i]->psi->bVirtual) i2++;
    178         }
     174        int i2 = pobj_c->GetFuncNumInVtbl( psi );
    179175
    180176        //mov rax,qword ptr[r11+func_index]
Note: See TracChangeset for help on using the changeset viewer.