Index: src/ia32/assembler-ia32.h |
diff --git a/src/ia32/assembler-ia32.h b/src/ia32/assembler-ia32.h |
index 00ee959589257a3d2ff340d13ae919c80393cecc..3335cfddc420dfe6ef5db8ca867e4f396df2fa8d 100644 |
--- a/src/ia32/assembler-ia32.h |
+++ b/src/ia32/assembler-ia32.h |
@@ -619,12 +619,14 @@ class Assembler : public AssemblerBase { |
void mov_b(Register dst, Register src) { mov_b(dst, Operand(src)); } |
void mov_b(Register dst, const Operand& src); |
void mov_b(Register dst, int8_t imm8) { mov_b(Operand(dst), imm8); } |
- void mov_b(const Operand& dst, int8_t imm8); |
+ void mov_b(const Operand& dst, int8_t src) { mov_b(dst, Immediate(src)); } |
+ void mov_b(const Operand& dst, const Immediate& src); |
void mov_b(const Operand& dst, Register src); |
void mov_w(Register dst, const Operand& src); |
+ void mov_w(const Operand& dst, int16_t src) { mov_w(dst, Immediate(src)); } |
+ void mov_w(const Operand& dst, const Immediate& src); |
void mov_w(const Operand& dst, Register src); |
- void mov_w(const Operand& dst, int16_t imm16); |
void mov(Register dst, int32_t imm32); |
void mov(Register dst, const Immediate& x); |