Add a comment.
ref: 2a8905c93b
Sorry, I used the wrong command, I did not mean it.
Thank grischka
This commit is contained in:
@ -1207,19 +1207,19 @@ doing:
|
|||||||
mode = classify_x86_64_arg(&vtop->type, &type, &size, &align, ®_count);
|
mode = classify_x86_64_arg(&vtop->type, &type, &size, &align, ®_count);
|
||||||
switch (mode) {
|
switch (mode) {
|
||||||
case x86_64_mode_x87:
|
case x86_64_mode_x87:
|
||||||
/* <EFBFBD><EFBFBD><EFBFBD>뱣֤ TREG_ST0 <EFBFBD><EFBFBD>Ψһ */
|
/* Must ensure TREG_ST0 only */
|
||||||
if((vtop->type.t & VT_BTYPE) == VT_STRUCT){
|
if((vtop->type.t & VT_BTYPE) == VT_STRUCT){
|
||||||
vdup();
|
vdup();
|
||||||
vtop->type = type;
|
vtop->type = type;
|
||||||
gv(RC_ST0);
|
gv(RC_ST0);
|
||||||
args_size -= size;
|
args_size -= size;
|
||||||
gen_offs_sp(0xdb, 0x107, args_size);
|
gen_offs_sp(0xdb, 0x107, args_size);
|
||||||
vtop--;//<EFBFBD>ͷ<EFBFBD> TREG_ST0
|
vtop--;//Release TREG_ST0
|
||||||
}else{
|
}else{
|
||||||
gv(RC_ST0);
|
gv(RC_ST0);
|
||||||
args_size -= size;
|
args_size -= size;
|
||||||
gen_offs_sp(0xdb, 0x107, args_size);
|
gen_offs_sp(0xdb, 0x107, args_size);
|
||||||
vtop->r = VT_CONST;//<EFBFBD>ͷ<EFBFBD> TREG_ST0
|
vtop->r = VT_CONST;//Release TREG_ST0
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case x86_64_mode_memory:
|
case x86_64_mode_memory:
|
||||||
|
|||||||
Reference in New Issue
Block a user