Index: src/arm/lithium-arm.cc |
=================================================================== |
--- src/arm/lithium-arm.cc (revision 6645) |
+++ src/arm/lithium-arm.cc (working copy) |
@@ -1642,13 +1642,11 @@ |
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(); |
- return DefineAsRegister(new LConstantD(value)); |
+ return DefineAsRegister(new LConstantD); |
} else if (r.IsTagged()) { |
- return DefineAsRegister(new LConstantT(instr->handle())); |
+ return DefineAsRegister(new LConstantT); |
} else { |
UNREACHABLE(); |
return NULL; |