Ignore:
Timestamp:
May 3, 2008, 11:50:25 PM (16 years ago)
Author:
dai_9181
Message:

pCompilingMethodを排除。

Location:
trunk/ab5.0/abdev/BasicCompiler_Common
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/include/Class.h

    r523 r538  
    476476public:
    477477    Classes()
    478         : pCompilingMethod( NULL )
    479         , pStringClass( NULL )
     478        : pStringClass( NULL )
    480479        , pObjectClass( NULL )
    481480        , pInterfaceInfo( NULL )
     
    504503    const CClass *Find( const std::string &fullName ) const;
    505504
    506 
    507     /////////////////////////////
    508     // 現在コンパイル中の情報
    509     /////////////////////////////
    510 private:
    511     const CMethod *pCompilingMethod;
    512 public:
    513505    void StartCompile( const UserProc *pUserProc );
    514 
    515     //現在コンパイル中のメソッド情報を取得
    516     const CMethod *GetNowCompilingMethodInfo(){
    517         return pCompilingMethod;
    518     }
    519506
    520507
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/Class.cpp

    r536 r538  
    11661166            }
    11671167        }
    1168 
    1169         pCompilingMethod = pParentClass->GetDynamicMethodOrInterfaceMethod( pUserProc );
    1170         if( !pCompilingMethod ){
    1171             pCompilingMethod = pParentClass->GetStaticMethods().GetMethodPtr( pUserProc );
    1172             if( !pCompilingMethod ){
    1173                 compiler.errorMessenger.OutputFatalError();
    1174             }
    1175         }
    1176     }
    1177     else{
    1178         pCompilingMethod = NULL;
    11791168    }
    11801169}
Note: See TracChangeset for help on using the changeset viewer.