Changeset 538 in dev for trunk/ab5.0/abdev/compiler_x86


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

pCompilingMethodを排除。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/compiler_x86/Compile_Var.cpp

    r537 r538  
    480480        //Const修飾子のメソッド内でメンバ書き込みアクセスが発生したとき
    481481        //(コンストラクタ、デストラクタ内を除く)
    482         const CMethod *pMethod = compiler.GetObjectModule().meta.GetClasses().GetNowCompilingMethodInfo();
     482        const CMethod *pMethod = &compiler.GetCompilingUserProc().GetMethod();
    483483        if( isWriteAccess &&
    484484            pMethod->IsConst() &&
Note: See TracChangeset for help on using the changeset viewer.