Changeset 253 in dev for trunk/abdev/BasicCompiler32/Compile_CallProc.cpp
- Timestamp:
- Jul 30, 2007, 4:12:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_CallProc.cpp
r250 r253 7 7 #include "../BasicCompiler_Common/common.h" 8 8 #include "Opcode.h" 9 10 //ローカル変数アドレススケジュール11 DWORD *pLocalVarAddrSchedule;12 int LocalVarAddrScheduleNum;13 9 14 10 void Call_DebugSys_SaveContext(){ … … 27 23 compiler.codeGenerator.op_call(pSub_DebugSys_SaveContext); 28 24 } 29 30 void AddLocalVarAddrSchedule(){31 extern HANDLE hHeap;32 33 //ローカル変数アドレススケジュールに追加する34 pLocalVarAddrSchedule=(DWORD *)HeapReAlloc(hHeap,0,pLocalVarAddrSchedule,(LocalVarAddrScheduleNum+1)*sizeof(DWORD));35 pLocalVarAddrSchedule[LocalVarAddrScheduleNum]=obp;36 LocalVarAddrScheduleNum++;37 }38 39 25 40 26 bool Opcode_CallProcPtr( const char *variable, const char *lpszParms,ProcPointer *pProcPointer){
Note:
See TracChangeset
for help on using the changeset viewer.