diff options
Diffstat (limited to '')
-rw-r--r-- | src/lj_snap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_snap.c b/src/lj_snap.c index ceaf2ca5..75888d80 100644 --- a/src/lj_snap.c +++ b/src/lj_snap.c | |||
@@ -688,7 +688,7 @@ static void snap_restoredata(GCtrace *T, ExitState *ex, | |||
688 | int32_t *src; | 688 | int32_t *src; |
689 | uint64_t tmp; | 689 | uint64_t tmp; |
690 | if (irref_isk(ref)) { | 690 | if (irref_isk(ref)) { |
691 | if (ir->o == IR_KNUM || ir->o == IR_KINT64) { | 691 | if (ir_isk64(ir)) { |
692 | src = (int32_t *)&ir[1]; | 692 | src = (int32_t *)&ir[1]; |
693 | } else if (sz == 8) { | 693 | } else if (sz == 8) { |
694 | tmp = (uint64_t)(uint32_t)ir->i; | 694 | tmp = (uint64_t)(uint32_t)ir->i; |