Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index eb4bde170b48035ba7a4c51a23e9d35c640e229e..74390e6fcadb696d22893f6f670be4544460e030 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1931,6 +1931,20 @@ LInstruction* LChunkBuilder::DoClampToUint8(HClampToUint8* instr) { |
} |
+LInstruction* LChunkBuilder::DoDoubleBits(HDoubleBits* instr) { |
+ HValue* value = instr->value(); |
+ ASSERT(value->representation().IsDouble()); |
+ return DefineAsRegister(new(zone()) LDoubleBits(UseRegister(value))); |
+} |
+ |
+ |
+LInstruction* LChunkBuilder::DoConstructDouble(HConstructDouble* instr) { |
+ LOperand* lo = UseRegister(instr->lo()); |
+ LOperand* hi = UseRegister(instr->hi()); |
+ return DefineAsRegister(new(zone()) LConstructDouble(hi, lo)); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoReturn(HReturn* instr) { |
LOperand* context = info()->IsStub() ? UseFixed(instr->context(), rsi) : NULL; |
LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count()); |