aboutsummaryrefslogtreecommitdiff
path: root/src/lj_opt_mem.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lj_opt_mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_opt_mem.c b/src/lj_opt_mem.c
index 3ed3c7ee..5aa5d8b9 100644
--- a/src/lj_opt_mem.c
+++ b/src/lj_opt_mem.c
@@ -40,7 +40,7 @@ typedef enum {
40/* Simplified escape analysis: check for intervening stores. */ 40/* Simplified escape analysis: check for intervening stores. */
41static AliasRet aa_escape(jit_State *J, IRIns *ir, IRIns *stop) 41static AliasRet aa_escape(jit_State *J, IRIns *ir, IRIns *stop)
42{ 42{
43 IRRef ref = ir - J->cur.ir; /* The reference that might be stored. */ 43 IRRef ref = (IRRef)(ir - J->cur.ir); /* The ref that might be stored. */
44 for (ir++; ir < stop; ir++) 44 for (ir++; ir < stop; ir++)
45 if (ir->op2 == ref && 45 if (ir->op2 == ref &&
46 (ir->o == IR_ASTORE || ir->o == IR_HSTORE || 46 (ir->o == IR_ASTORE || ir->o == IR_HSTORE ||