Changeset 120 in dev for BasicCompiler_Common/Class.cpp


Ignore:
Timestamp:
May 13, 2007, 8:50:04 AM (17 years ago)
Author:
dai_9181
Message:

Parameter::Equals静的メソッドを廃止し、Parameters::Equalsメソッドを用意。
ポインタに要するサイズよりも一回り大きなアラインメントが指定されているときに、呼び出し側のオフセットズレを考慮するよう、修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BasicCompiler_Common/Class.cpp

    r117 r120  
    10891089
    10901090        if( method->pUserProc->GetName() == temporary ){
    1091             if( Parameter::Equals( method->pUserProc->Params(), pUserProc->Params() ) ){
     1091            if( method->pUserProc->Params().Equals( pUserProc->Params() ) ){
    10921092                //関数名、パラメータ属性が合致したとき
    10931093                SetError(15,pUserProc->GetName().c_str(),nowLine);
     
    11031103    foreach( CMethod *method, pobj_c->methods ){
    11041104        if( method->pUserProc->GetName() == temporary ){
    1105             if( Parameter::Equals( method->pUserProc->Params(), pUserProc->Params() ) ){
     1105            if( method->pUserProc->Params().Equals( pUserProc->Params() ) ){
    11061106
    11071107                if(method->bVirtual){
Note: See TracChangeset for help on using the changeset viewer.