Ignore:
Timestamp:
Aug 14, 2007, 11:57:32 PM (17 years ago)
Author:
dai_9181
Message:

vtbl構築をコード生成後(最終リンクの前)に行うようにした

File:
1 edited

Legend:

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

    r253 r282  
    13111311    pNativeCode->PutUserProcSchedule( pUserProc, false );
    13121312}
     1313void CodeGenerator::op_mov_RV_vtbl( int reg, const CClass *pClass )
     1314{
     1315    // mov reg,vtblAddress
     1316
     1317    //オペコード、レジスタ
     1318    pNativeCode->Put( (char)(0xB8|REGISTER_OPERAND(reg)) );
     1319
     1320    //DISP32
     1321    pNativeCode->PutVtblSchedule( pClass );
     1322}
Note: See TracChangeset for help on using the changeset viewer.