Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index b60ad50408cf2444f68e62c7daa77a3c96111052..9a9688bde5ce97c7f3236f61b25a7906c7a7c84f 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -5197,13 +5197,13 @@ void LCodeGen::DoCheckMaps(LCheckMaps* instr) { |
__ bind(deferred->check_maps()); |
} |
- UniqueSet<Map> map_set = instr->hydrogen()->map_set(); |
+ const UniqueSet<Map>* map_set = instr->hydrogen()->map_set(); |
Label success; |
- for (int i = 0; i < map_set.size() - 1; i++) { |
- Handle<Map> map = map_set.at(i).handle(); |
+ for (int i = 0; i < map_set->size() - 1; i++) { |
+ Handle<Map> map = map_set->at(i).handle(); |
__ CompareMapAndBranch(map_reg, map, &success, eq, &success); |
} |
- Handle<Map> map = map_set.at(map_set.size() - 1).handle(); |
+ Handle<Map> map = map_set->at(map_set->size() - 1).handle(); |
// Do the CompareMap() directly within the Branch() and DeoptimizeIf(). |
if (instr->hydrogen()->has_migration_target()) { |
__ Branch(deferred->entry(), ne, map_reg, Operand(map)); |