Changeset 220 in dev for trunk/abdev/BasicCompiler64/MakePeHdr.cpp
- Timestamp:
- Jul 18, 2007, 4:23:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler64/MakePeHdr.cpp
r218 r220 449 449 450 450 //add rsp,スタックフレームサイズ 451 op_add_RV(REG_RSP,pobj_sf->GetFrameSize()); 451 int stackFrameSize = pobj_sf->GetFrameSize(0); 452 op_add_RV( REG_RSP, stackFrameSize ); 452 453 453 454 //xor rax,rax(raxを0に初期化する) … … 462 463 463 464 //スタックフレームスケジュール(subコマンドに渡す値) 464 *((long *)(OpBuffer+StackFrameSchedule)) =pobj_sf->GetFrameSize();465 *((long *)(OpBuffer+StackFrameSchedule)) = stackFrameSize; 465 466 466 467 //スタックフレームスケジュールを実行 467 pobj_sf->RunningSchedule( );468 pobj_sf->RunningSchedule( stackFrameSize ); 468 469 delete pobj_sf; 469 470 pobj_sf=0;
Note:
See TracChangeset
for help on using the changeset viewer.