Changeset 183 in dev for trunk/abdev/BasicCompiler64/Compile_CallProc.cpp
- Timestamp:
- Jun 24, 2007, 6:50:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/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" … … 124 126 if(lstrcmpi(ObjectName,"Super")==0){ 125 127 //クラスメンバ関数内から基底クラスの呼び出し 126 pobj_c= pobj_CompilingClass;128 pobj_c=Smoothie::Temp::pCompilingClass; 127 129 } 128 130 else{ … … 132 134 pobj_c = &varType.GetClass(); 133 135 if( NATURAL_TYPE( varType.GetBasicType() ) != DEF_OBJECT ){ 134 pobj_c= pobj_DBClass->Find(ObjectName);136 pobj_c=Smoothie::GetMeta().GetClasses().Find(ObjectName); 135 137 if( pobj_c ){ 136 138 isStatic = true; … … 149 151 else{ 150 152 //クラスメンバ関数内から同一クラスのメンバ関数の呼び出し 151 pobj_c= pobj_CompilingClass;153 pobj_c=Smoothie::Temp::pCompilingClass; 152 154 } 153 155 } … … 178 180 if(ObjectName[0]){ 179 181 //外部からの呼び出し 180 if(pobj_c== pobj_CompilingClass){182 if(pobj_c==Smoothie::Temp::pCompilingClass){ 181 183 //同一クラスオブジェクトの場合はプライベートアクセスを容認する 182 184 if( pMethod->IsNoneAccess() ){
Note:
See TracChangeset
for help on using the changeset viewer.