Changeset 11 in dev for BasicCompiler32/Compile_Func.cpp
- Timestamp:
- Dec 8, 2006, 3:25:27 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_Func.cpp
r3 r11 223 223 int SubScripts[MAX_ARRAYDIM]; 224 224 RELATIVE_VAR RelativeVar; 225 if(!GetVarOffset (1,tempParm,&type,&RelativeVar,&lpIndex,SubScripts)) return;225 if(!GetVarOffsetReadOnly(tempParm,&type,&RelativeVar,&lpIndex,SubScripts)) return; 226 226 227 227 if(type&FLAG_PTR){ … … 295 295 RELATIVE_VAR RelativeVar; 296 296 int type; 297 if(!GetVarOffset (1,ObjectName,&type,&RelativeVar,(LONG_PTR *)&pobj_c)) return;297 if(!GetVarOffsetReadOnly(ObjectName,&type,&RelativeVar,(LONG_PTR *)&pobj_c)) return; 298 298 SetVarPtrToEax(&RelativeVar); 299 299 … … 375 375 376 376 //変数のアドレスを取得 377 if(!GetVarOffset (1,Parameter,&type,&RelativeVar,0)) return;377 if(!GetVarOffsetReadOnly(Parameter,&type,&RelativeVar,0)) return; 378 378 379 379 SetVarPtrToEax(&RelativeVar);
Note:
See TracChangeset
for help on using the changeset viewer.