Index: src/ic/arm/ic-compiler-arm.cc |
diff --git a/src/ic/arm/ic-compiler-arm.cc b/src/ic/arm/ic-compiler-arm.cc |
index ff2bcf05b137e9731b235463e4cc634291bd4203..9b8abd3298cd957c47df7ac3bc88fdc36058e30d 100644 |
--- a/src/ic/arm/ic-compiler-arm.cc |
+++ b/src/ic/arm/ic-compiler-arm.cc |
@@ -111,7 +111,10 @@ Handle<Code> PropertyICCompiler::CompileKeyedStorePolymorphic( |
Label next_map; |
__ b(ne, &next_map); |
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, al); |
__ bind(&next_map); |
} |