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_x86/Compile_Var.cpp

    r641 r677  
    409409            pRelativeVar->offset=-pVar->GetOffsetAddress();
    410410            pRelativeVar->bOffsetOffset=0;
    411             if( pVar->IsRef() ){
     411            if( pVar->IsRef() || pVar->IsByValStructParameter() ){
    412412                // 参照型
    413413                pRelativeVar->dwKind = VAR_REFLOCAL;
Note: See TracChangeset for help on using the changeset viewer.