Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index a436a548e09d78c1976e3a138c0a7eebbb10f0a6..c774b99e9deffb04227bbc2192e80383f3e5b6b2 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -773,6 +773,7 @@ class MacroAssembler: public Assembler { |
// Move an immediate into an XMM register. |
void Move(XMMRegister dst, uint32_t src); |
void Move(XMMRegister dst, uint64_t src); |
+ void Move(XMMRegister dst, float src) { Move(dst, bit_cast<uint32_t>(src)); } |
void Move(XMMRegister dst, double src) { Move(dst, bit_cast<uint64_t>(src)); } |
void Move(Register dst, Smi* source) { Move(dst, Immediate(source)); } |