Changeset 232 in dev for trunk/abdev/BasicCompiler_Common/include/NativeCode.h
- Timestamp:
- Jul 25, 2007, 4:04:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/NativeCode.h
r228 r232 8 8 9 9 void AddLocalVarAddrSchedule(); 10 void ObpPlus( int step = 1 ); 10 11 11 12 class Schedule … … 137 138 extern int obp; 138 139 memcpy( OpBuffer + obp, codeBuffer, size ); 139 obp += size;140 ObpPlus( size ); 140 141 } 141 142 void Put( const NativeCode &nativeCode ) … … 180 181 extern int obp; 181 182 *((long *)(OpBuffer+obp))=l; 182 obp+=sizeof(long);183 ObpPlus( sizeof(long) ); 183 184 } 184 185 void Put( short s ) … … 196 197 extern char *OpBuffer; 197 198 extern int obp; 198 OpBuffer[obp++]=c; 199 OpBuffer[obp]=c; 200 ObpPlus(); 199 201 } 200 202 };
Note:
See TracChangeset
for help on using the changeset viewer.