Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index c842df253c384ab5df56bb505bef30ec4e9da72c..e4d816a5d46b201bc7f2e90c679ce2fec025f523 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -2047,8 +2047,7 @@ void LCodeGen::DoSeqStringSetChar(LSeqStringSetChar* instr) { |
void LCodeGen::DoThrow(LThrow* instr) { |
- Register input_reg = EmitLoadRegister(instr->value(), ip); |
- __ push(input_reg); |
+ __ push(ToRegister(instr->value())); |
ASSERT(ToRegister(instr->context()).is(cp)); |
CallRuntime(Runtime::kThrow, 1, instr); |