summaryrefslogtreecommitdiff
path: root/src/lj_record.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_record.c')
-rw-r--r--src/lj_record.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lj_record.c b/src/lj_record.c
index 7620ae4c..5910dab4 100644
--- a/src/lj_record.c
+++ b/src/lj_record.c
@@ -1292,6 +1292,8 @@ static int rec_upvalue_constify(jit_State *J, GCupval *uvp)
1292 } 1292 }
1293 return 0; 1293 return 0;
1294 } 1294 }
1295#else
1296 UNUSED(J);
1295#endif 1297#endif
1296 if (!(tvistab(o) || tvisudata(o) || tvisthread(o))) 1298 if (!(tvistab(o) || tvisudata(o) || tvisthread(o)))
1297 return 1; 1299 return 1;