Changeset 135 in dev for BasicCompiler32/Compile_CallProc.cpp
- Timestamp:
- Jun 6, 2007, 12:58:40 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BasicCompiler32/Compile_CallProc.cpp
r113 r135 113 113 bool isStatic = false; 114 114 const CClass *pobj_c = NULL; 115 CMethod *pMethod = NULL;115 const CMethod *pMethod = NULL; 116 116 if( pUserProc->GetParentClassPtr() ){ 117 117 //クラスのメンバ関数を呼び出す場合はアクセスチェックを行う … … 153 153 ///////////////////////////////// 154 154 pMethod = NULL; 155 if( ! isStatic ) pMethod = pobj_c->GetMethod Info( pUserProc );155 if( ! isStatic ) pMethod = pobj_c->GetMethods().GetMethodPtr( pUserProc ); 156 156 if( ! pMethod ){ 157 157 //動的メソッドが取得できなかったときは静的メソッドを当たる 158 pMethod = pobj_c->GetStaticMethod Info( pUserProc );158 pMethod = pobj_c->GetStaticMethods().GetMethodPtr( pUserProc ); 159 159 if( !pMethod ){ 160 160 SetError(300,NULL,cp); … … 276 276 else{ 277 277 RELATIVE_VAR RelativeVar; 278 if( pMethod-> isConst){278 if( pMethod->IsConst() ){ 279 279 //Constアクセスが可能なメソッドの場合 280 280 if( !GetVarOffsetReadOnly( ObjectName, &RelativeVar, Type() ) ){
Note:
See TracChangeset
for help on using the changeset viewer.