Ignore:
Timestamp:
Jul 29, 2007, 9:30:14 PM (17 years ago)
Author:
dai_9181
Message:

Selectステートメントのスケジュール機構をリファクタリング

Location:
trunk/abdev/BasicCompiler_Common/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abdev/BasicCompiler_Common/include/CodeGenerator.h

    r248 r250  
    265265    const PertialSchedule *__jmp_op_format( char opcode, long offset, int op_size, bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
    266266public:
    267     const PertialSchedule *op_jle( long offset, int op_size = sizeof(char), bool isPertialSchedule = false );
    268     const PertialSchedule *op_jbe( long offset, int op_size = sizeof(char), bool isPertialSchedule = false );
    269     const PertialSchedule *op_jge( long offset, int op_size = sizeof(char), bool isPertialSchedule = false );
    270     const PertialSchedule *op_jae( long offset, int op_size = sizeof(char), bool isPertialSchedule = false );
    271     const PertialSchedule *op_jl( long offset, int op_size = sizeof(char), bool isPertialSchedule = false );
    272     const PertialSchedule *op_jb( long offset, int op_size = sizeof(char), bool isPertialSchedule = false );
    273     const PertialSchedule *op_jg( long offset, int op_size = sizeof(char), bool isPertialSchedule = false );
    274     const PertialSchedule *op_ja( long offset, int op_size = sizeof(char), bool isPertialSchedule = false );
    275     const PertialSchedule *op_jne( long offset, int op_size = sizeof(char), bool isPertialSchedule = false );
    276     const PertialSchedule *op_je( long offset, int op_size = sizeof(char), bool isPertialSchedule = false );
     267    const PertialSchedule *op_jle( long offset, int op_size = sizeof(char), bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
     268    const PertialSchedule *op_jbe( long offset, int op_size = sizeof(char), bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
     269    const PertialSchedule *op_jge( long offset, int op_size = sizeof(char), bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
     270    const PertialSchedule *op_jae( long offset, int op_size = sizeof(char), bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
     271    const PertialSchedule *op_jl( long offset, int op_size = sizeof(char), bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
     272    const PertialSchedule *op_jb( long offset, int op_size = sizeof(char), bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
     273    const PertialSchedule *op_jg( long offset, int op_size = sizeof(char), bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
     274    const PertialSchedule *op_ja( long offset, int op_size = sizeof(char), bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
     275    const PertialSchedule *op_jne( long offset, int op_size = sizeof(char), bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
     276    const PertialSchedule *op_je( long offset, int op_size = sizeof(char), bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
    277277    const PertialSchedule *op_jmp( long offset, int op_size = sizeof(char), bool isPertialSchedule = false, bool isSelfOpcodeOffset = false );
    278278    void op_jmp_continue();
     
    435435    void op_call_R( int reg );
    436436    void op_call(const UserProc *pUserProc);
     437    void op_call(const DllProc *pDllProc);
    437438    void op_ret();
    438439    void op_ret( short stackFrameSize );
  • trunk/abdev/BasicCompiler_Common/include/NativeCode.h

    r245 r250  
    3333        LONG_PTR lpValue;
    3434        const ::UserProc *pUserProc;
     35        const ::DllProc *pDllProc;
    3536    };
    3637
     
    5859        , offset( offset )
    5960        , pUserProc( pUserProc )
     61    {
     62    }
     63    Schedule( const ::DllProc *pDllProc, long offest )
     64        : type( Schedule::UserProc )
     65        , offset( offset )
     66        , pDllProc( pDllProc )
    6067    {
    6168    }
     
    242249    }
    243250    void PutUserProcSchedule( const UserProc *pUserProc, bool isCall );
     251    void PutDllProcSchedule( const DllProc *pDllProc );
    244252    void Put( short s )
    245253    {
Note: See TracChangeset for help on using the changeset viewer.