| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index c2dfde3cc4a5a84c4ac4655d9e8da061f8d2077d..0fe38a0c2b398833723622c2e2b84ff24e6ee9b4 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -4033,6 +4033,9 @@ void LCodeGen::DoStoreNamedField(LStoreNamedField* instr) {
|
| instr->hydrogen()->value()->IsHeapObject()
|
| ? OMIT_SMI_CHECK : INLINE_SMI_CHECK;
|
|
|
| + ASSERT(!(representation.IsSmi() &&
|
| + instr->value()->IsConstantOperand() &&
|
| + !IsSmi(LConstantOperand::cast(instr->value()))));
|
| if (representation.IsHeapObject()) {
|
| Register value = ToRegister(instr->value());
|
| if (!instr->hydrogen()->value()->type().IsHeapObject()) {
|
|
|