Changeset 73 in dev for BasicCompiler64/Compile_CallProc.cpp
- Timestamp:
- Mar 16, 2007, 11:07:14 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler64/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 } … … 96 96 } 97 97 98 void Opcode_CallProc(const char *Parameter,S UBINFO*psi,DWORD dwFlags,char *ObjectName,int RefType){98 void Opcode_CallProc(const char *Parameter,SubInfo *psi,DWORD dwFlags,char *ObjectName,int RefType){ 99 99 int i2; 100 100 … … 234 234 235 235 //エラーチェック 236 if( !pobj_parameter->ErrorCheck(psi->name,psi-> pRealParmInfo,psi->RealParmNum,psi->SecondParmNum) ){236 if( !pobj_parameter->ErrorCheck(psi->name,psi->realParams,psi->SecondParmNum) ){ 237 237 //パラメータにエラーがあるときは処理を終える 238 238 return; … … 241 241 if(psi->dwType==SUBTYPE_MACRO){ 242 242 //マクロ関数の場合は、パラメータ省略を考慮する 243 pobj_parameter->MacroParameterSupport(psi-> pRealParmInfo);243 pobj_parameter->MacroParameterSupport(psi->realParams); 244 244 } 245 245 … … 248 248 249 249 //一時オブジェクトを生成 250 pobj_parameter->NewTempParameters( psi->name,psi-> pRealParmInfo,psi->RealParmNum,psi->RealSecondParmNum );250 pobj_parameter->NewTempParameters( psi->name,psi->realParams,psi->RealSecondParmNum ); 251 251 252 252 //レジスタ、スタックフレームにセット 253 pobj_parameter->SetParameter(psi->name,psi-> pRealParmInfo,psi->RealParmNum,psi->RealSecondParmNum);253 pobj_parameter->SetParameter(psi->name,psi->realParams,psi->RealSecondParmNum); 254 254 255 255 if(psi->ReturnType==DEF_STRUCT && psi->isReturnRef == false){ … … 271 271 272 272 //call calloc 273 extern S UBINFO*pSub_calloc;273 extern SubInfo *pSub_calloc; 274 274 op_call(pSub_calloc); 275 275
Note:
See TracChangeset
for help on using the changeset viewer.