diff options
author | Mike Pall <mike> | 2022-05-20 12:16:25 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2022-05-20 12:16:25 +0200 |
commit | 4ef96cff887c268cc676f9b4b1dc9c54a693efd5 (patch) | |
tree | 932c9dc332cdce228e8f2c3b072e07371754e653 /src | |
parent | 80bb1428aad72d870af9969c30c9c39b174b5a59 (diff) | |
download | luajit-4ef96cff887c268cc676f9b4b1dc9c54a693efd5.tar.gz luajit-4ef96cff887c268cc676f9b4b1dc9c54a693efd5.tar.bz2 luajit-4ef96cff887c268cc676f9b4b1dc9c54a693efd5.zip |
Fix alias analysis for table length forwarding.
Contributed by Maxim Sokolov.
Diffstat (limited to 'src')
-rw-r--r-- | src/lj_opt_mem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_opt_mem.c b/src/lj_opt_mem.c index cafa0523..09de2f05 100644 --- a/src/lj_opt_mem.c +++ b/src/lj_opt_mem.c | |||
@@ -432,7 +432,7 @@ TRef LJ_FASTCALL lj_opt_fwd_alen(jit_State *J) | |||
432 | fins->op2 = aref->op2; /* Set ALEN hint. */ | 432 | fins->op2 = aref->op2; /* Set ALEN hint. */ |
433 | } | 433 | } |
434 | goto doemit; /* Conflicting store, possibly giving a hint. */ | 434 | goto doemit; /* Conflicting store, possibly giving a hint. */ |
435 | } else if (aa_table(J, tab, fref->op1) == ALIAS_NO) { | 435 | } else if (aa_table(J, tab, fref->op1) != ALIAS_NO) { |
436 | goto doemit; /* Conflicting store. */ | 436 | goto doemit; /* Conflicting store. */ |
437 | } | 437 | } |
438 | sref = store->prev; | 438 | sref = store->prev; |