Changeset 183 in dev for trunk/abdev/BasicCompiler32/Compile_CallProc.cpp
- Timestamp:
- Jun 24, 2007, 6:50:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/Compile_CallProc.cpp
r137 r183 1 #include <jenga/include/smoothie/Smoothie.h> 2 1 3 #include "../BasicCompiler_Common/common.h" 2 4 #include "Opcode.h" … … 119 121 if(lstrcmpi(ObjectName,"Super")==0){ 120 122 //クラスメンバ関数内から基底クラスの呼び出し 121 pobj_c= pobj_CompilingClass;123 pobj_c=Smoothie::Temp::pCompilingClass; 122 124 } 123 125 else{ … … 127 129 pobj_c = &varType.GetClass(); 128 130 if( NATURAL_TYPE( varType.GetBasicType() ) != DEF_OBJECT ){ 129 pobj_c= pobj_DBClass->Find(ObjectName);131 pobj_c=Smoothie::GetMeta().GetClasses().Find(ObjectName); 130 132 if( pobj_c ){ 131 133 isStatic = true; … … 144 146 else{ 145 147 //クラスメンバ関数内から同一クラスのメンバ関数の呼び出し 146 pobj_c= pobj_CompilingClass;148 pobj_c=Smoothie::Temp::pCompilingClass; 147 149 } 148 150 } … … 173 175 if(ObjectName[0]){ 174 176 //外部からの呼び出し 175 if(pobj_c== pobj_CompilingClass){177 if(pobj_c==Smoothie::Temp::pCompilingClass){ 176 178 //同一クラスオブジェクトの場合はプライベートアクセスを容認する 177 179 if( pMethod->IsNoneAccess() ){
Note:
See TracChangeset
for help on using the changeset viewer.