-2007-01-26 avd <avd@buzz.wiraqocha.local>
+2007-01-28 Aleksey Demakov <ademakov@gmail.com>
- * include/jit/jit-arch-x86.h (_JIT_ARCH_GET_CURRENT_FRAME): tweak
- gcc version of the macro.
+ * jit/jit-reg-alloc.c (_jit_regs_gen): fix recently introduced bug
+ with loading registers for ternary ops.
2007-01-26 Aleksey Demakov <ademakov@gmail.com>
+ * include/jit/jit-arch-x86.h (_JIT_ARCH_GET_CURRENT_FRAME): tweak
+ gcc version of the macro.
+
* jit/jit-apply-x86.c (_jit_create_redirector): redirector does not
use stack frame so remove frame set up and restore instructions.
move_input_value(gen, regs, 1);
move_input_value(gen, regs, 2);
}
- else
- {
- load_input_value(gen, regs, 0);
- load_input_value(gen, regs, 1);
- load_input_value(gen, regs, 2);
- }
+ load_input_value(gen, regs, 0);
+ load_input_value(gen, regs, 1);
+ load_input_value(gen, regs, 2);
}
else if(regs->flip_args)
{