aboutsummaryrefslogtreecommitdiffhomepage
path: root/amd64/isel.c
diff options
context:
space:
mode:
Diffstat (limited to 'amd64/isel.c')
-rw-r--r--amd64/isel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/isel.c b/amd64/isel.c
index cb87b7d..07115ac 100644
--- a/amd64/isel.c
+++ b/amd64/isel.c
@@ -187,7 +187,7 @@ aadd(struct addr *addr, union ref r)
} else if (r.t == RREG) {
/* temporaries are single assignment, but register aren't, so they can't be *
* safely hoisted into an address value, unless they have global lifetime */
- if (!bstest(mctarg->rglob, r.i)) return 0;
+ if (!rstest(mctarg->rglob, r.i)) return 0;
Ref:
if (!addr->base.bits) addr->base = r;
else if (!addr->index.bits) addr->index = r;