Cleaning up some constant handling.

This commit is contained in:
Ben Vanik
2014-01-27 22:47:37 -08:00
parent d67f786af8
commit 5b2e44b0e8
2 changed files with 16 additions and 11 deletions

View File

@@ -1464,8 +1464,6 @@ table->AddSequence(OPCODE_SUB, [](X64Emitter& e, Instr*& i) {
return true;
});
#define LIKE_REG(dest, like) Operand(dest.getIdx(), dest.getKind(), like.getBit(), false)
table->AddSequence(OPCODE_MUL, [](X64Emitter& e, Instr*& i) {
if (IsIntType(i->dest->type)) {
IntBinaryOp(e, i, [](X64Emitter& e, Instr& i, const Reg& dest_src, const Operand& src) {