Index: src/x64/lithium-x64.cc |
=================================================================== |
--- src/x64/lithium-x64.cc (revision 6645) |
+++ src/x64/lithium-x64.cc (working copy) |
@@ -1552,14 +1552,12 @@ |
LInstruction* LChunkBuilder::DoConstant(HConstant* instr) { |
Representation r = instr->representation(); |
if (r.IsInteger32()) { |
- int32_t value = instr->Integer32Value(); |
- return DefineAsRegister(new LConstantI(value)); |
+ return DefineAsRegister(new LConstantI); |
} else if (r.IsDouble()) { |
- double value = instr->DoubleValue(); |
LOperand* temp = TempRegister(); |
- return DefineAsRegister(new LConstantD(value, temp)); |
+ return DefineAsRegister(new LConstantD(temp)); |
} else if (r.IsTagged()) { |
- return DefineAsRegister(new LConstantT(instr->handle())); |
+ return DefineAsRegister(new LConstantT); |
} else { |
UNREACHABLE(); |
return NULL; |