Changeset 73 in dev for BasicCompiler32/Compile_CallProc.cpp
- Timestamp:
- Mar 16, 2007, 11:07:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_CallProc.cpp
r71 r73 8 8 void Call_DebugSys_SaveContext(){ 9 9 //call _System_GetEip 10 extern S UBINFO*pSub_System_GetEip;10 extern SubInfo *pSub_System_GetEip; 11 11 op_call(pSub_System_GetEip); 12 12 … … 18 18 19 19 //call _DebugSys_SaveContext 20 extern S UBINFO*pSub_DebugSys_SaveContext;20 extern SubInfo *pSub_DebugSys_SaveContext; 21 21 op_call(pSub_DebugSys_SaveContext); 22 22 } … … 94 94 } 95 95 96 void Opcode_CallProc(const char *Parameter,S UBINFO*psi,DWORD dwFlags,char *ObjectName,int RefType){96 void Opcode_CallProc(const char *Parameter,SubInfo *psi,DWORD dwFlags,char *ObjectName,int RefType){ 97 97 int i2; 98 98 … … 230 230 231 231 //エラーチェック 232 if( !pobj_parameter->ErrorCheck(psi->name,psi-> pRealParmInfo,psi->RealParmNum,psi->SecondParmNum) ){232 if( !pobj_parameter->ErrorCheck(psi->name,psi->realParams,psi->SecondParmNum) ){ 233 233 //パラメータにエラーがあるときは処理を終える 234 234 return; … … 237 237 if(psi->dwType==SUBTYPE_MACRO){ 238 238 //マクロ関数の場合は、パラメータ省略を考慮する 239 pobj_parameter->MacroParameterSupport( psi->pRealParmInfo);239 pobj_parameter->MacroParameterSupport( psi->realParams ); 240 240 } 241 241 242 242 //一時オブジェクトを生成 243 int tempSize = pobj_parameter->NewTempParameters( psi->name,psi-> pRealParmInfo,psi->RealParmNum,psi->RealSecondParmNum );243 int tempSize = pobj_parameter->NewTempParameters( psi->name,psi->realParams,psi->RealSecondParmNum ); 244 244 245 245 //レジスタ、スタックフレームにセット 246 246 int ParmSize; 247 ParmSize=pobj_parameter->SetParameter(psi->name,psi-> pRealParmInfo,psi->RealParmNum,psi->RealSecondParmNum);247 ParmSize=pobj_parameter->SetParameter(psi->name,psi->realParams,psi->RealSecondParmNum); 248 248 249 249 if(psi->ReturnType==DEF_STRUCT && psi->isReturnRef == false){ … … 259 259 260 260 //call calloc 261 extern S UBINFO*pSub_calloc;261 extern SubInfo *pSub_calloc; 262 262 op_call(pSub_calloc); 263 263
Note:
See TracChangeset
for help on using the changeset viewer.