diff options
Diffstat (limited to 'src/lj_asm.c')
-rw-r--r-- | src/lj_asm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_asm.c b/src/lj_asm.c index d961927b..753fe6bd 100644 --- a/src/lj_asm.c +++ b/src/lj_asm.c | |||
@@ -2015,6 +2015,7 @@ static void asm_setup_regsp(ASMState *as) | |||
2015 | ir->prev = REGSP_INIT; | 2015 | ir->prev = REGSP_INIT; |
2016 | if (irt_is64(ir->t) && ir->o != IR_KNULL) { | 2016 | if (irt_is64(ir->t) && ir->o != IR_KNULL) { |
2017 | #if LJ_GC64 | 2017 | #if LJ_GC64 |
2018 | /* The false-positive of irt_is64() for ASMREF_L (REF_NIL) is OK here. */ | ||
2018 | ir->i = 0; /* Will become non-zero only for RIP-relative addresses. */ | 2019 | ir->i = 0; /* Will become non-zero only for RIP-relative addresses. */ |
2019 | #else | 2020 | #else |
2020 | /* Make life easier for backends by putting address of constant in i. */ | 2021 | /* Make life easier for backends by putting address of constant in i. */ |