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

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

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

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/BasicCompiler_Common/VarList.cpp

    r649 r677  
    425425        else{
    426426            offset=pobj_dti->lplpSpBase[i2]+pVar->GetOffsetAddress();
    427             if(pVar->IsRef()){
     427            if( pVar->IsRef() || pVar->IsByValStructParameter() )
     428            {
    428429                ReadProcessMemory(hDebugProcess,(void *)offset,&lpData,sizeof(LONG_PTR),&accessBytes);
    429430                offset=lpData;
  • trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalScope.cpp

    r537 r677  
    120120        if( pVar->GetScopeLevel() != GetNowLevel() ) continue;
    121121
    122         if( pVar->GetType().IsStruct() && pVar->IsParameter() ){
     122        if( pVar->IsByValStructParameter() ){
    123123            //構造体パラメータを持つとき
    124124
Note: See TracChangeset for help on using the changeset viewer.