Ignore:
Timestamp:
Aug 16, 2007, 7:55:02 PM (17 years ago)
Author:
dai_9181
Message:

Binaryクラスを追加

File:
1 edited

Legend:

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

    r275 r287  
    254254    const Variable *Find( const Symbol &symbol )const;
    255255
    256     void Add( Variable *pVar );
     256    void Add( Variable *pVar, bool isResetOffsetAddress = true );
    257257
    258258    int GetAllSize() const
     
    276276    }
    277277};
     278
     279class GlobalVar : public Variable
     280{
     281    BYTE *initBuffer;
     282public:
     283    GlobalVar()
     284    {
     285        initBuffer = (BYTE *)malloc( 1 );
     286    }
     287    ~GlobalVar()
     288    {
     289        free( initBuffer );
     290    }
     291};
Note: See TracChangeset for help on using the changeset viewer.