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