Index: src/x64/lithium-x64.cc |
=================================================================== |
--- src/x64/lithium-x64.cc (revision 10880) |
+++ src/x64/lithium-x64.cc (working copy) |
@@ -1750,32 +1750,6 @@ |
} |
-LInstruction* LChunkBuilder::DoToInt32(HToInt32* instr) { |
- HValue* value = instr->value(); |
- Representation input_rep = value->representation(); |
- LOperand* reg = UseRegister(value); |
- if (input_rep.IsDouble()) { |
- return AssignEnvironment(DefineAsRegister(new(zone()) LDoubleToI(reg))); |
- } else if (input_rep.IsInteger32()) { |
- // Canonicalization should already have removed the hydrogen instruction in |
- // this case, since it is a noop. |
- UNREACHABLE(); |
- return NULL; |
- } else { |
- ASSERT(input_rep.IsTagged()); |
- LOperand* reg = UseRegister(value); |
- // Register allocator doesn't (yet) support allocation of double |
- // temps. Reserve xmm1 explicitly. |
- LOperand* xmm_temp = |
- CpuFeatures::IsSupported(SSE3) |
- ? NULL |
- : FixedTemp(xmm1); |
- return AssignEnvironment( |
- DefineSameAsFirst(new(zone()) LTaggedToI(reg, xmm_temp))); |
- } |
-} |
- |
- |
LInstruction* LChunkBuilder::DoReturn(HReturn* instr) { |
return new(zone()) LReturn(UseFixed(instr->value(), rax)); |
} |