Ignore:
Timestamp:
Jun 30, 2008, 12:38:54 AM (16 years ago)
Author:
dai_9181
Message:

値渡しの構造体パラメータが正常に引き渡されない不具合を修正。

File:
1 edited

Legend:

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

    r643 r677  
    434434            pRelativeVar->offset=-pVar->GetOffsetAddress();
    435435            pRelativeVar->bOffsetOffset=0;
    436             if( pVar->IsRef() ){
     436            if( pVar->IsRef() || pVar->IsByValStructParameter() )
     437            {
    437438                // 参照型
    438439                pRelativeVar->dwKind = VAR_REFLOCAL;
Note: See TracChangeset for help on using the changeset viewer.