Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index e77e657671e9b1d2b2a713a244f7d0a14a13b867..57b1463fb2473588353548c395ca6e429c9a12f1 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1848,6 +1848,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()); |