diff options
author | Mike Pall <mike> | 2011-08-11 22:04:38 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2011-08-11 22:04:38 +0200 |
commit | 05ef03e2d04ccde3c881166268575308315a6ea0 (patch) | |
tree | a3c2088217fadb18663422ba74a67e114a39037c /src/lj_opt_mem.c | |
parent | e8fa76feace720c8348f08fd0e0c9f0656277987 (diff) | |
download | luajit-05ef03e2d04ccde3c881166268575308315a6ea0.tar.gz luajit-05ef03e2d04ccde3c881166268575308315a6ea0.tar.bz2 luajit-05ef03e2d04ccde3c881166268575308315a6ea0.zip |
Don't bother to chain NOPs.
Diffstat (limited to 'src/lj_opt_mem.c')
-rw-r--r-- | src/lj_opt_mem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lj_opt_mem.c b/src/lj_opt_mem.c index 40064639..a90d0979 100644 --- a/src/lj_opt_mem.c +++ b/src/lj_opt_mem.c | |||
@@ -323,7 +323,7 @@ TRef LJ_FASTCALL lj_opt_dse_ahstore(jit_State *J) | |||
323 | goto doemit; /* No elimination possible. */ | 323 | goto doemit; /* No elimination possible. */ |
324 | /* Remove redundant store from chain and replace with NOP. */ | 324 | /* Remove redundant store from chain and replace with NOP. */ |
325 | *refp = store->prev; | 325 | *refp = store->prev; |
326 | store->o = IR_NOP; /* Unchained NOP -- does anybody care? */ | 326 | store->o = IR_NOP; |
327 | store->t.irt = IRT_NIL; | 327 | store->t.irt = IRT_NIL; |
328 | store->op1 = store->op2 = 0; | 328 | store->op1 = store->op2 = 0; |
329 | store->prev = 0; | 329 | store->prev = 0; |
@@ -418,7 +418,7 @@ TRef LJ_FASTCALL lj_opt_dse_ustore(jit_State *J) | |||
418 | goto doemit; /* No elimination possible. */ | 418 | goto doemit; /* No elimination possible. */ |
419 | /* Remove redundant store from chain and replace with NOP. */ | 419 | /* Remove redundant store from chain and replace with NOP. */ |
420 | *refp = store->prev; | 420 | *refp = store->prev; |
421 | store->o = IR_NOP; /* Unchained NOP -- does anybody care? */ | 421 | store->o = IR_NOP; |
422 | store->t.irt = IRT_NIL; | 422 | store->t.irt = IRT_NIL; |
423 | store->op1 = store->op2 = 0; | 423 | store->op1 = store->op2 = 0; |
424 | store->prev = 0; | 424 | store->prev = 0; |
@@ -511,7 +511,7 @@ TRef LJ_FASTCALL lj_opt_dse_fstore(jit_State *J) | |||
511 | goto doemit; /* No elimination possible. */ | 511 | goto doemit; /* No elimination possible. */ |
512 | /* Remove redundant store from chain and replace with NOP. */ | 512 | /* Remove redundant store from chain and replace with NOP. */ |
513 | *refp = store->prev; | 513 | *refp = store->prev; |
514 | store->o = IR_NOP; /* Unchained NOP -- does anybody care? */ | 514 | store->o = IR_NOP; |
515 | store->t.irt = IRT_NIL; | 515 | store->t.irt = IRT_NIL; |
516 | store->op1 = store->op2 = 0; | 516 | store->op1 = store->op2 = 0; |
517 | store->prev = 0; | 517 | store->prev = 0; |
@@ -761,7 +761,7 @@ TRef LJ_FASTCALL lj_opt_dse_xstore(jit_State *J) | |||
761 | goto doemit; /* No elimination possible. */ | 761 | goto doemit; /* No elimination possible. */ |
762 | /* Remove redundant store from chain and replace with NOP. */ | 762 | /* Remove redundant store from chain and replace with NOP. */ |
763 | *refp = store->prev; | 763 | *refp = store->prev; |
764 | store->o = IR_NOP; /* Unchained NOP -- does anybody care? */ | 764 | store->o = IR_NOP; |
765 | store->t.irt = IRT_NIL; | 765 | store->t.irt = IRT_NIL; |
766 | store->op1 = store->op2 = 0; | 766 | store->op1 = store->op2 = 0; |
767 | store->prev = 0; | 767 | store->prev = 0; |