| Index: src/ia32/stub-cache-ia32.cc
|
| diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc
|
| index f390f88bb965a31f16411591ca418c445b8fd1eb..c0ee28ad490c0972769f0cabc2c0a2615658594a 100644
|
| --- a/src/ia32/stub-cache-ia32.cc
|
| +++ b/src/ia32/stub-cache-ia32.cc
|
| @@ -931,7 +931,11 @@ void StubCompiler::GenerateStoreTransition(MacroAssembler* masm,
|
| OMIT_REMEMBERED_SET,
|
| OMIT_SMI_CHECK);
|
|
|
| - if (details.type() == CONSTANT_FUNCTION) return;
|
| + if (details.type() == CONSTANT_FUNCTION) {
|
| + ASSERT(value_reg.is(eax));
|
| + __ ret(0);
|
| + return;
|
| + }
|
|
|
| int index = transition->instance_descriptors()->GetFieldIndex(
|
| transition->LastAdded());
|
|
|