Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 292c7a0f287fc9bd904811b5f9c6673a9a6e392f..a59120c76daf26878664091b3352ce89483e9a06 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -2135,14 +2135,14 @@ 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(); |
__ CompareMap(map_reg, map); |
__ B(eq, &success); |
} |
- Handle<Map> map = map_set.at(map_set.size() - 1).handle(); |
+ Handle<Map> map = map_set->at(map_set->size() - 1).handle(); |
__ CompareMap(map_reg, map); |
// We didn't match a map. |