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