Index: src/ic/mips64/ic-compiler-mips64.cc |
diff --git a/src/ic/mips64/ic-compiler-mips64.cc b/src/ic/mips64/ic-compiler-mips64.cc |
index a834430e1e45b5dc7154cbd0b8d209d6bc95c91f..8cdd8f03bc866b019532810f1beefc8bf8ba0077 100644 |
--- a/src/ic/mips64/ic-compiler-mips64.cc |
+++ b/src/ic/mips64/ic-compiler-mips64.cc |
@@ -100,7 +100,10 @@ Handle<Code> PropertyICCompiler::CompileKeyedStorePolymorphic( |
Label next_map; |
__ Branch(&next_map, ne, match, Operand(map_reg)); |
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); |
__ bind(&next_map); |
} |