summaryrefslogtreecommitdiff
path: root/src/lj_opt_mem.c
diff options
context:
space:
mode:
authorMike Pall <mike>2010-09-14 19:58:27 +0200
committerMike Pall <mike>2010-09-14 19:58:27 +0200
commit8dc76ee3276e504d739818322e4dff37e6ae1c11 (patch)
treea46fc1ccfa6b2926f22b322c98412cd99fba09e1 /src/lj_opt_mem.c
parent23655bd52ebffd0a4bdb9d34009816f9ca501f04 (diff)
downloadluajit-8dc76ee3276e504d739818322e4dff37e6ae1c11.tar.gz
luajit-8dc76ee3276e504d739818322e4dff37e6ae1c11.tar.bz2
luajit-8dc76ee3276e504d739818322e4dff37e6ae1c11.zip
Add IR_VLOAD for vararg loads.
Also fixes the broken AA improvement in the last commit.
Diffstat (limited to 'src/lj_opt_mem.c')
-rw-r--r--src/lj_opt_mem.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lj_opt_mem.c b/src/lj_opt_mem.c
index c862e67e..8674ddea 100644
--- a/src/lj_opt_mem.c
+++ b/src/lj_opt_mem.c
@@ -102,9 +102,6 @@ static TRef fwd_ahload(jit_State *J, IRRef xref)
102 IRRef lim = xref; /* Search limit. */ 102 IRRef lim = xref; /* Search limit. */
103 IRRef ref; 103 IRRef ref;
104 104
105 if (IR(xr->op1)->o != IR_FLOAD) /* Varargs have no corresponding stores. */
106 goto cselim;
107
108 /* Search for conflicting stores. */ 105 /* Search for conflicting stores. */
109 ref = J->chain[fins->o+IRDELTA_L2S]; 106 ref = J->chain[fins->o+IRDELTA_L2S];
110 while (ref > xref) { 107 while (ref > xref) {