| Index: src/x64/stub-cache-x64.cc
|
| diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc
|
| index 41e5b882642287e01ed347cdd347c373643b0c16..40f87ba588aa2c8466252e3944fdd25fd0506e6b 100644
|
| --- a/src/x64/stub-cache-x64.cc
|
| +++ b/src/x64/stub-cache-x64.cc
|
| @@ -746,7 +746,7 @@ void StubCompiler::GenerateStoreTransition(MacroAssembler* masm,
|
| Label* miss_restore_name) {
|
| // Check that the map of the object hasn't changed.
|
| __ CheckMap(receiver_reg, Handle<Map>(object->map()),
|
| - miss_label, DO_SMI_CHECK, REQUIRE_EXACT_MAP);
|
| + miss_label, DO_SMI_CHECK);
|
|
|
| // Perform global security token check if needed.
|
| if (object->IsJSGlobalProxy()) {
|
| @@ -874,7 +874,7 @@ void StubCompiler::GenerateStoreField(MacroAssembler* masm,
|
| Label* miss_label) {
|
| // Check that the map of the object hasn't changed.
|
| __ CheckMap(receiver_reg, Handle<Map>(object->map()),
|
| - miss_label, DO_SMI_CHECK, ALLOW_ELEMENT_TRANSITION_MAPS);
|
| + miss_label, DO_SMI_CHECK);
|
|
|
| // Perform global security token check if needed.
|
| if (object->IsJSGlobalProxy()) {
|
| @@ -1015,8 +1015,7 @@ Register StubCompiler::CheckPrototypes(Handle<JSObject> object,
|
| __ movq(scratch1, FieldOperand(reg, HeapObject::kMapOffset));
|
| }
|
| if (!current.is_identical_to(first) || check == CHECK_ALL_MAPS) {
|
| - __ CheckMap(reg, current_map, miss, DONT_DO_SMI_CHECK,
|
| - ALLOW_ELEMENT_TRANSITION_MAPS);
|
| + __ CheckMap(reg, current_map, miss, DONT_DO_SMI_CHECK);
|
| }
|
|
|
| // Check access rights to the global object. This has to happen after
|
| @@ -1051,8 +1050,7 @@ Register StubCompiler::CheckPrototypes(Handle<JSObject> object,
|
|
|
| if (!holder.is_identical_to(first) || check == CHECK_ALL_MAPS) {
|
| // Check the holder map.
|
| - __ CheckMap(reg, Handle<Map>(holder->map()),
|
| - miss, DONT_DO_SMI_CHECK, ALLOW_ELEMENT_TRANSITION_MAPS);
|
| + __ CheckMap(reg, Handle<Map>(holder->map()), miss, DONT_DO_SMI_CHECK);
|
| }
|
|
|
| // Perform security check for access to the global object.
|
| @@ -2531,8 +2529,7 @@ Handle<Code> StoreStubCompiler::CompileStoreInterceptor(
|
| Label miss;
|
|
|
| // Check that the map of the object hasn't changed.
|
| - __ CheckMap(receiver(), Handle<Map>(object->map()), &miss,
|
| - DO_SMI_CHECK, ALLOW_ELEMENT_TRANSITION_MAPS);
|
| + __ CheckMap(receiver(), Handle<Map>(object->map()), &miss, DO_SMI_CHECK);
|
|
|
| // Perform global security token check if needed.
|
| if (object->IsJSGlobalProxy()) {
|
|
|