Changeset 89 in dev for BasicCompiler_Common/Compile.cpp
- Timestamp:
- Apr 4, 2007, 2:03:09 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler_Common/Compile.cpp
r78 r89 7 7 #endif 8 8 9 int obp,obp_AllocSize;10 int GlobalOpBufferSize;11 char *OpBuffer;12 13 9 //ラベルアドレス 14 10 LABEL *pLabelNames; … … 36 32 //With情報 37 33 WITHINFO WithInfo; 34 35 36 int obp,obp_AllocSize; 37 int GlobalOpBufferSize; 38 char *OpBuffer; 39 void ReallocNativeCodeBuffer(){ 40 if(obp_AllocSize<obp+8192){ 41 obp_AllocSize+=8192; 42 OpBuffer=(char *)HeapReAlloc(hHeap,0,OpBuffer,obp_AllocSize); //matea 43 } 44 } 38 45 39 46 … … 428 435 OpcodeDim(Command+2,0); 429 436 430 if(obp_AllocSize<obp+8192){ 431 obp_AllocSize+=8192; 432 OpBuffer=(char *)HeapReAlloc(hHeap,0,OpBuffer,obp_AllocSize); 433 } 437 // ネイティブコードバッファの再確保 438 ReallocNativeCodeBuffer(); 434 439 435 440 if(basbuf[cp]=='\0') break;
Note:
See TracChangeset
for help on using the changeset viewer.