Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 94e5b576b7d7925250781f3c921dda7fd70296c4..1f6c5adb9855548186d28cfa92c0d266080b23bf 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -4942,12 +4942,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, scratch, map, &success, instr->hydrogen()->mode()); |
+ __ CompareMap(reg, scratch, map, &success, REQUIRE_EXACT_MAP); |
__ b(eq, &success); |
} |
Handle<Map> map = map_set->last(); |
- DoCheckMapCommon(reg, scratch, map, instr->hydrogen()->mode(), |
- instr->environment()); |
+ DoCheckMapCommon(reg, scratch, map, REQUIRE_EXACT_MAP, instr->environment()); |
__ bind(&success); |
} |