| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 8897b63ebdf8e704811fd9511a8f2e1a09e9e308..e8ce3428afcaa78e589fcdf7307e4bf745f4cd1d 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -494,6 +494,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();
|
| }
|
|
|
|
|