Ignore:
Timestamp:
Jul 30, 2007, 3:11:26 AM (17 years ago)
Author:
dai_9181
Message:

SystemProcのリファクタリング

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

Legend:

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

    r251 r252  
    448448        pNativeCode->Put( l, scheduleType );
    449449    }
    450 
     450    void PutOld( const NativeCode &nativeCode )
     451    {
     452        pNativeCode->Put( nativeCode );
     453    }
    451454    void PutOld( char c1, char c2 )
    452455    {
  • trunk/abdev/BasicCompiler_Common/include/NativeCode.h

    r250 r252  
    151151    {
    152152    }
     153    NativeCode( const char *codeBuffer, int size )
     154        : allocateSize( 8192 )
     155        , codeBuffer( (char *)malloc( allocateSize ) )
     156        , size( 0 )
     157    {
     158        Put( codeBuffer, size );
     159    }
    153160    ~NativeCode()
    154161    {
Note: See TracChangeset for help on using the changeset viewer.