Changeset 287 in dev for trunk/abdev/BasicCompiler_Common/include/Variable.h
- Timestamp:
- Aug 16, 2007, 7:55:02 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Variable.h
r275 r287 254 254 const Variable *Find( const Symbol &symbol )const; 255 255 256 void Add( Variable *pVar );256 void Add( Variable *pVar, bool isResetOffsetAddress = true ); 257 257 258 258 int GetAllSize() const … … 276 276 } 277 277 }; 278 279 class GlobalVar : public Variable 280 { 281 BYTE *initBuffer; 282 public: 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.