diff options
| author | Mike Pall <mike> | 2017-02-16 20:41:46 +0100 |
|---|---|---|
| committer | Mike Pall <mike> | 2017-02-16 20:41:46 +0100 |
| commit | 5aa020137459d13a8577ae2995e142c4579a9dc6 (patch) | |
| tree | 4995e92a30f0e9316cd5cc68997680f9c92d379e /src | |
| parent | bd7e42e57482950a70f63d9f3ce0bb76bd2b0945 (diff) | |
| download | luajit-5aa020137459d13a8577ae2995e142c4579a9dc6.tar.gz luajit-5aa020137459d13a8577ae2995e142c4579a9dc6.tar.bz2 luajit-5aa020137459d13a8577ae2995e142c4579a9dc6.zip | |
ARM64: Fix AREF/HREF/UREF fusion.
Thanks to Zhongwei Yao.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lj_asm_arm64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_asm_arm64.h b/src/lj_asm_arm64.h index 9b958bd6..0e2228bb 100644 --- a/src/lj_asm_arm64.h +++ b/src/lj_asm_arm64.h | |||
| @@ -176,7 +176,7 @@ static Reg asm_fuseahuref(ASMState *as, IRRef ref, int32_t *ofsp, RegSet allow, | |||
| 176 | } | 176 | } |
| 177 | } else { | 177 | } else { |
| 178 | Reg base = ra_alloc1(as, ir->op1, allow); | 178 | Reg base = ra_alloc1(as, ir->op1, allow); |
| 179 | *ofsp = FUSE_REG|ra_alloc1(as, ir->op2, rset_exclude(RSET_GPR, base)); | 179 | *ofsp = FUSE_REG|ra_alloc1(as, ir->op2, rset_exclude(allow, base)); |
| 180 | return base; | 180 | return base; |
| 181 | } | 181 | } |
| 182 | } | 182 | } |
