Index: src/ic/ia32/ic-compiler-ia32.cc |
diff --git a/src/ic/ia32/ic-compiler-ia32.cc b/src/ic/ia32/ic-compiler-ia32.cc |
index a1e2cbcefeef134496b2ea46467cb27e3ce85ab6..d0a2e0bd546b37069dcc9cc24310e2fb5a4c93f5 100644 |
--- a/src/ic/ia32/ic-compiler-ia32.cc |
+++ b/src/ic/ia32/ic-compiler-ia32.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); |
} |