mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-19 05:30:07 +08:00
Add a comment.
ref: 2a8905c93b
Sorry, I used the wrong command, I did not mean it.
Thank grischka
This commit is contained in:
parent
504d40a328
commit
ee99fd45ab
@ -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:
|
||||||
/* 必须保证 TREG_ST0 的唯一 */
|
/* 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--;//释放 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;//释放 TREG_ST0
|
vtop->r = VT_CONST;//Release TREG_ST0
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case x86_64_mode_memory:
|
case x86_64_mode_memory:
|
||||||
|
Loading…
Reference in New Issue
Block a user