| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index a9a4ec834236d0dc17a1720d1bb0f64563622218..5f98ee40065187b977f7eb365065c503a9b3415c 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -1500,7 +1500,11 @@ void LCodeGen::DoSubI(LSubI* instr) {
|
|
|
|
|
| void LCodeGen::DoConstantI(LConstantI* instr) {
|
| - ASSERT(instr->result()->IsRegister());
|
| + __ li(ToRegister(instr->result()), Operand(instr->value()));
|
| +}
|
| +
|
| +
|
| +void LCodeGen::DoConstantS(LConstantS* instr) {
|
| __ li(ToRegister(instr->result()), Operand(instr->value()));
|
| }
|
|
|
|
|