Index: src/ic/x64/ic-compiler-x64.cc |
diff --git a/src/ic/x64/ic-compiler-x64.cc b/src/ic/x64/ic-compiler-x64.cc |
index d5e548412c8fbb2490fd34f8ad4a1ee4196be68a..fd92cca57023f18fe8701a267968d41225ead4be 100644 |
--- a/src/ic/x64/ic-compiler-x64.cc |
+++ b/src/ic/x64/ic-compiler-x64.cc |
@@ -55,7 +55,10 @@ Handle<Code> PropertyICCompiler::CompileKeyedStorePolymorphic( |
Label next_map; |
__ j(not_equal, &next_map, Label::kNear); |
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); |
__ jmp(handler_stubs->at(i), RelocInfo::CODE_TARGET); |
__ bind(&next_map); |
} |