Index: src/ic/x87/ic-compiler-x87.cc |
diff --git a/src/ic/x87/ic-compiler-x87.cc b/src/ic/x87/ic-compiler-x87.cc |
index 4d5fc6a7121c754ad519fac7b78ebb6a5f531205..d29e32108b6f70d0e93ebf4c32ba309e2c260e0f 100644 |
--- a/src/ic/x87/ic-compiler-x87.cc |
+++ b/src/ic/x87/ic-compiler-x87.cc |
@@ -112,7 +112,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); |
} |