| Index: src/ia32/stub-cache-ia32.cc
|
| diff --git a/src/ia32/stub-cache-ia32.cc b/src/ia32/stub-cache-ia32.cc
|
| index fd267798cf43b664c2591b71705c13cfe4613a3b..5a5afdc7474b50944d0d9183c5b2df0f9d41fff0 100644
|
| --- a/src/ia32/stub-cache-ia32.cc
|
| +++ b/src/ia32/stub-cache-ia32.cc
|
| @@ -746,8 +746,10 @@ void StubCompiler::GenerateStoreField(MacroAssembler* masm,
|
| Register scratch,
|
| Label* miss_label) {
|
| // Check that the map of the object hasn't changed.
|
| + CompareMapMode mode = transition.is_null() ? ALLOW_ELEMENT_TRANSITION_MAPS
|
| + : REQUIRE_EXACT_MAP;
|
| __ CheckMap(receiver_reg, Handle<Map>(object->map()),
|
| - miss_label, DO_SMI_CHECK, ALLOW_ELEMENT_TRANSITION_MAPS);
|
| + miss_label, DO_SMI_CHECK, mode);
|
|
|
| // Perform global security token check if needed.
|
| if (object->IsJSGlobalProxy()) {
|
|
|