aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjiang <30155751@qq.com>2014-05-02 00:39:50 +0800
committerjiang <30155751@qq.com>2014-05-02 00:39:50 +0800
commitee99fd45abadf5eb8e10d76715a5c29500cf720d (patch)
treed91114b26f5e623f0c8d8ed6266e6c9889604291
parent504d40a328c496a738e459fae4339fd78c59426f (diff)
downloadtinycc-ee99fd45abadf5eb8e10d76715a5c29500cf720d.tar.gz
tinycc-ee99fd45abadf5eb8e10d76715a5c29500cf720d.tar.bz2
Add a comment.
ref: 2a8905c93b4f67a21e3dbf297c3e93c598831528 Sorry, I used the wrong command, I did not mean it. Thank grischka
-rw-r--r--x86_64-gen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/x86_64-gen.c b/x86_64-gen.c
index a671e8e..0307792 100644
--- a/x86_64-gen.c
+++ b/x86_64-gen.c
@@ -1207,19 +1207,19 @@ doing:
mode = classify_x86_64_arg(&vtop->type, &type, &size, &align, &reg_count);
switch (mode) {
case x86_64_mode_x87:
- /* 必须保证 TREG_ST0 的唯一 */
+ /* Must ensure TREG_ST0 only */
if((vtop->type.t & VT_BTYPE) == VT_STRUCT){
vdup();
vtop->type = type;
gv(RC_ST0);
args_size -= size;
gen_offs_sp(0xdb, 0x107, args_size);
- vtop--;//释放 TREG_ST0
+ vtop--;//Release TREG_ST0
}else{
gv(RC_ST0);
args_size -= size;
gen_offs_sp(0xdb, 0x107, args_size);
- vtop->r = VT_CONST;//释放 TREG_ST0
+ vtop->r = VT_CONST;//Release TREG_ST0
}
break;
case x86_64_mode_memory: