Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 74834a08c30e9f1b29ab192c535ff489accfabca..35da23d76b0fbd989a0be08a276cfd67dd79879b 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -1560,11 +1560,15 @@ void LCodeGen::DoSubI(LSubI* instr) { |
void LCodeGen::DoConstantI(LConstantI* instr) { |
- ASSERT(instr->result()->IsRegister()); |
__ Set(ToRegister(instr->result()), instr->value()); |
} |
+void LCodeGen::DoConstantS(LConstantS* instr) { |
+ __ Move(ToRegister(instr->result()), instr->value()); |
+} |
+ |
+ |
void LCodeGen::DoConstantD(LConstantD* instr) { |
ASSERT(instr->result()->IsDoubleRegister()); |
XMMRegister res = ToDoubleRegister(instr->result()); |