Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index f79208ea25a9bb27b88468182248ea9f1047e8d1..44e8a715b1d55dfd4ff54ad7c8a4b3f30a64efbc 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -4598,10 +4598,11 @@ void LCodeGen::DoCheckMaps(LCheckMaps* instr) { |
for (int i = 0; i < map_set->length() - 1; i++) { |
Handle<Map> map = map_set->at(i); |
__ CompareMapAndBranch( |
- reg, scratch, map, &success, eq, &success, REQUIRE_EXACT_MAP); |
+ reg, scratch, map, &success, eq, &success, instr->hydrogen()->mode()); |
} |
Handle<Map> map = map_set->last(); |
- DoCheckMapCommon(reg, scratch, map, REQUIRE_EXACT_MAP, instr->environment()); |
+ DoCheckMapCommon(reg, scratch, map, instr->hydrogen()->mode(), |
+ instr->environment()); |
__ bind(&success); |
} |