Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index c1f6695b7acb8aa0e7fc31e000517ce5b60e5c85..362aadb65352f9b83759dfd27b9aae3a09bd8556 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -1900,7 +1900,11 @@ void LCodeGen::DoRSubI(LRSubI* instr) { |
void LCodeGen::DoConstantI(LConstantI* instr) { |
- ASSERT(instr->result()->IsRegister()); |
+ __ mov(ToRegister(instr->result()), Operand(instr->value())); |
+} |
+ |
+ |
+void LCodeGen::DoConstantS(LConstantS* instr) { |
__ mov(ToRegister(instr->result()), Operand(instr->value())); |
} |