Index: src/ia32/assembler-ia32-inl.h |
diff --git a/src/ia32/assembler-ia32-inl.h b/src/ia32/assembler-ia32-inl.h |
index ff8978c966b2274ee0883742d5dabdf803356f07..d945a6e82465dab467638ecbded3ebd8f7a4d28a 100644 |
--- a/src/ia32/assembler-ia32-inl.h |
+++ b/src/ia32/assembler-ia32-inl.h |
@@ -560,6 +560,12 @@ Operand::Operand(int32_t disp, RelocInfo::Mode rmode) { |
set_dispr(disp, rmode); |
} |
+ |
+Operand::Operand(Immediate imm) { |
+ // [disp/r] |
+ set_modrm(0, ebp); |
+ set_dispr(imm.x_, imm.rmode_); |
+} |
} } // namespace v8::internal |
#endif // V8_IA32_ASSEMBLER_IA32_INL_H_ |