Index: src/ic/arm64/ic-compiler-arm64.cc |
diff --git a/src/ic/arm64/ic-compiler-arm64.cc b/src/ic/arm64/ic-compiler-arm64.cc |
index b4a4163fed5bef9e2392de3c292604b34c13d5b1..a86b5e53b5c26c047c227897ad3edd7259f79c03 100644 |
--- a/src/ic/arm64/ic-compiler-arm64.cc |
+++ b/src/ic/arm64/ic-compiler-arm64.cc |
@@ -116,10 +116,7 @@ |
// This argument is used by the handler stub. For example, see |
// ElementsTransitionGenerator::GenerateMapChangeElementsTransition. |
Handle<WeakCell> cell = Map::WeakCellForMap(transitioned_maps->at(i)); |
- Register transition_map = scratch1(); |
- DCHECK(!FLAG_vector_stores && |
- transition_map.is(StoreTransitionDescriptor::MapRegister())); |
- __ LoadWeakValue(transition_map, cell, &miss); |
+ __ LoadWeakValue(transition_map(), cell, &miss); |
} |
__ Jump(handler_stubs->at(i), RelocInfo::CODE_TARGET); |
__ Bind(&skip); |