| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index d52ee31b1c07148312cdc8d257605fe81db2f1dc..02ca14534a7512d21e5c3e2db9b5a241e5a45a99 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -481,6 +481,8 @@ bool LCodeGen::IsInteger32(LConstantOperand* op) const {
|
|
|
| int LCodeGen::ToInteger32(LConstantOperand* op) const {
|
| HConstant* constant = chunk_->LookupConstant(op);
|
| + ASSERT(chunk_->LookupLiteralRepresentation(op).IsInteger32());
|
| + ASSERT(constant->HasInteger32Value());
|
| return constant->Integer32Value();
|
| }
|
|
|
|
|