Ignore:
Timestamp:
Jul 25, 2007, 11:54:20 AM (17 years ago)
Author:
dai_9181
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler32/Compile_CallProc.cpp

    r225 r235  
    7979
    8080    //mov eax,dword ptr[eax]
    81     OpBuffer[obp++]=(char)0x8B;
    82     OpBuffer[obp++]=(char)0x00;
     81    compiler.codeGenerator.op_mov_RM( sizeof(long), REG_EAX, REG_EAX, 0, MOD_BASE );
    8382
    8483    //call eax
    85     OpBuffer[obp++]=(char)0xFF;
    86     OpBuffer[obp++]=(char)0xD0;
     84    compiler.codeGenerator.op_call_R( REG_EAX );
    8785
    8886
     
    325323
    326324        //mov edx,dword ptr[ecx]
    327         OpBuffer[obp++]=(char)0x8B;
    328         OpBuffer[obp++]=(char)0x11;
     325        compiler.codeGenerator.op_mov_RM( sizeof(long), REG_EDX, REG_ECX, 0, MOD_BASE );
    329326
    330327        i2 = pobj_c->GetFuncNumInVtbl( pUserProc );
Note: See TracChangeset for help on using the changeset viewer.