Index: src/ic/x64/ic-x64.cc |
diff --git a/src/ic/x64/ic-x64.cc b/src/ic/x64/ic-x64.cc |
index ff74a965e43aaf67314a06419580ba35adc02afb..8d334809cba854202f78fb065104e14f376bb888 100644 |
--- a/src/ic/x64/ic-x64.cc |
+++ b/src/ic/x64/ic-x64.cc |
@@ -582,7 +582,7 @@ |
Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
Code::ComputeHandlerFlags(Code::STORE_IC)); |
masm->isolate()->stub_cache()->GenerateProbe(masm, Code::STORE_IC, flags, |
- receiver, key, r9, no_reg); |
+ receiver, key, rbx, no_reg); |
// Cache miss. |
__ jmp(&miss); |
@@ -735,13 +735,8 @@ |
void StoreIC::GenerateMegamorphic(MacroAssembler* masm) { |
- if (FLAG_vector_stores) { |
- // This shouldn't be called. |
- __ int3(); |
- return; |
- } |
- |
// The return address is on the stack. |
+ |
// Get the receiver from the stack and probe the stub cache. |
Code::Flags flags = Code::RemoveTypeAndHolderFromFlags( |
Code::ComputeHandlerFlags(Code::STORE_IC)); |
@@ -790,10 +785,7 @@ |
Register receiver = StoreDescriptor::ReceiverRegister(); |
Register name = StoreDescriptor::NameRegister(); |
Register value = StoreDescriptor::ValueRegister(); |
- Register dictionary = r11; |
- DCHECK(!FLAG_vector_stores || |
- !AreAliased(dictionary, VectorStoreICDescriptor::VectorRegister(), |
- VectorStoreICDescriptor::SlotRegister())); |
+ Register dictionary = rbx; |
Label miss; |