1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-27 13:30:31 +02:00

Correct wrong movr simplification

This commit is contained in:
pcpa 2016-05-05 11:19:45 -03:00
parent be32b6ad15
commit b00c750830
2 changed files with 5 additions and 1 deletions

View file

@ -2822,7 +2822,7 @@ _simplify_movr(jit_state_t *_jit, jit_node_t *prev, jit_node_t *node,
else {
value->kind = jit_kind_register;
value->base.q.l = right;
value->base.q.h = _jitc->gen[regno];
value->base.q.h = _jitc->gen[right];
}
++_jitc->gen[regno];