| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index 69513643452284c4d7c8439eec8be328156eb07a..98321ff27068c1d8b3eed18f76c59c29cd40cae0 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -2774,7 +2774,7 @@ void LCodeGen::DoLoadNamedFieldPolymorphic(LLoadNamedFieldPolymorphic* instr) {
|
| bool last = (i == map_count - 1);
|
| Handle<Map> map = instr->hydrogen()->types()->at(i);
|
| Label check_passed;
|
| - __ CompareMap(object, map, &check_passed, ALLOW_ELEMENT_TRANSITION_MAPS);
|
| + __ CompareMap(object, map, &check_passed);
|
| if (last && !need_generic) {
|
| DeoptimizeIf(not_equal, instr->environment());
|
| __ bind(&check_passed);
|
| @@ -4900,10 +4900,9 @@ void LCodeGen::DoCheckFunction(LCheckFunction* instr) {
|
|
|
| void LCodeGen::DoCheckMapCommon(Register reg,
|
| Handle<Map> map,
|
| - CompareMapMode mode,
|
| LInstruction* instr) {
|
| Label success;
|
| - __ CompareMap(reg, map, &success, mode);
|
| + __ CompareMap(reg, map, &success);
|
| DeoptimizeIf(not_equal, instr->environment());
|
| __ bind(&success);
|
| }
|
| @@ -4918,11 +4917,11 @@ void LCodeGen::DoCheckMaps(LCheckMaps* instr) {
|
| SmallMapList* map_set = instr->hydrogen()->map_set();
|
| for (int i = 0; i < map_set->length() - 1; i++) {
|
| Handle<Map> map = map_set->at(i);
|
| - __ CompareMap(reg, map, &success, REQUIRE_EXACT_MAP);
|
| + __ CompareMap(reg, map, &success);
|
| __ j(equal, &success);
|
| }
|
| Handle<Map> map = map_set->last();
|
| - DoCheckMapCommon(reg, map, REQUIRE_EXACT_MAP, instr);
|
| + DoCheckMapCommon(reg, map, instr);
|
| __ bind(&success);
|
| }
|
|
|
| @@ -4991,7 +4990,7 @@ void LCodeGen::DoCheckPrototypeMaps(LCheckPrototypeMaps* instr) {
|
| } else {
|
| for (int i = 0; i < prototypes->length(); i++) {
|
| __ LoadHeapObject(reg, prototypes->at(i));
|
| - DoCheckMapCommon(reg, maps->at(i), ALLOW_ELEMENT_TRANSITION_MAPS, instr);
|
| + DoCheckMapCommon(reg, maps->at(i), instr);
|
| }
|
| }
|
| }
|
|
|