- Timestamp:
- Jun 30, 2008, 12:38:54 AM (16 years ago)
- Location:
- trunk/ab5.0/abdev
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/BasicCompiler_Common/VarList.cpp
r649 r677 425 425 else{ 426 426 offset=pobj_dti->lplpSpBase[i2]+pVar->GetOffsetAddress(); 427 if(pVar->IsRef()){ 427 if( pVar->IsRef() || pVar->IsByValStructParameter() ) 428 { 428 429 ReadProcessMemory(hDebugProcess,(void *)offset,&lpData,sizeof(LONG_PTR),&accessBytes); 429 430 offset=lpData; -
trunk/ab5.0/abdev/BasicCompiler_Common/src/LexicalScope.cpp
r537 r677 120 120 if( pVar->GetScopeLevel() != GetNowLevel() ) continue; 121 121 122 if( pVar-> GetType().IsStruct() && pVar->IsParameter() ){122 if( pVar->IsByValStructParameter() ){ 123 123 //構造体パラメータを持つとき 124 124 -
trunk/ab5.0/abdev/ab_common/include/Lexical/Variable.h
r640 r677 99 99 } 100 100 101 void ThisIs Parameter(){101 void ThisIsByValStructParameter(){ 102 102 isParameter = true; 103 103 } 104 bool Is Parameter() const104 bool IsByValStructParameter() const 105 105 { 106 106 return isParameter; -
trunk/ab5.0/abdev/compiler_x64/Compile_ProcOp.cpp
r643 r677 299 299 if( param.IsRef() == false && param.IsStruct() ){ 300 300 //構造体のByValパラメータ 301 pVar->ThisIs Parameter();301 pVar->ThisIsByValStructParameter(); 302 302 varSize=PTR_SIZE; 303 303 } -
trunk/ab5.0/abdev/compiler_x64/Compile_Var.cpp
r643 r677 434 434 pRelativeVar->offset=-pVar->GetOffsetAddress(); 435 435 pRelativeVar->bOffsetOffset=0; 436 if( pVar->IsRef() ){ 436 if( pVar->IsRef() || pVar->IsByValStructParameter() ) 437 { 437 438 // 参照型 438 439 pRelativeVar->dwKind = VAR_REFLOCAL; -
trunk/ab5.0/abdev/compiler_x86/Compile_ProcOp.cpp
r642 r677 347 347 if( param.IsRef() == false && param.IsStruct() ){ 348 348 //構造体のByValパラメータ 349 pVar->ThisIs Parameter();349 pVar->ThisIsByValStructParameter(); 350 350 varSize=PTR_SIZE; 351 351 } -
trunk/ab5.0/abdev/compiler_x86/Compile_Var.cpp
r641 r677 409 409 pRelativeVar->offset=-pVar->GetOffsetAddress(); 410 410 pRelativeVar->bOffsetOffset=0; 411 if( pVar->IsRef() ){411 if( pVar->IsRef() || pVar->IsByValStructParameter() ){ 412 412 // 参照型 413 413 pRelativeVar->dwKind = VAR_REFLOCAL;
Note:
See TracChangeset
for help on using the changeset viewer.