Ignore:
Timestamp:
Jan 7, 2007, 6:51:20 AM (17 years ago)
Author:
dai_9181
Message:

静的メンバ、静的メソッド周りを修正。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler64/Compile_CallProc.cpp

    r26 r27  
    245245        if(ObjectName[0]){
    246246            if(lstrcmpi(ObjectName,"Super")==0){
    247                 //クラスメンバ関数内からスーパークラスの呼び出し
     247                //クラスメンバ関数内から基底クラスの呼び出し
    248248                pobj_c=pobj_CompilingClass;
    249249            }
     
    275275        // メソッド情報を取得
    276276        /////////////////////////////////
    277         pMethod = pobj_c->GetMethodInfo( psi );
    278         if( !pMethod ){
     277        pMethod = NULL;
     278        if( ! bStatic ) pMethod = pobj_c->GetMethodInfo( psi );
     279        if( ! pMethod ){
    279280            //動的メソッドが取得できなかったときは静的メソッドを当たる
    280281            pMethod = pobj_c->GetStaticMethodInfo( psi );
Note: See TracChangeset for help on using the changeset viewer.