Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(470)

Unified Diff: src/ia32/code-stubs-ia32.cc

Issue 2147043002: Cleanup interface descriptors to reflect that vectors are part of stores. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@rename-store-ic
Patch Set: Rebasing Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/full-codegen/full-codegen.cc ('k') | src/ia32/interface-descriptors-ia32.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ia32/code-stubs-ia32.cc
diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
index eac1ada01ce83df9e6f2beaa6917439c6a2be800..13b1fbdd93bf4402940e65862e4d2c789a63f307 100644
--- a/src/ia32/code-stubs-ia32.cc
+++ b/src/ia32/code-stubs-ia32.cc
@@ -3553,13 +3553,13 @@ void KeyedLoadICStub::GenerateImpl(MacroAssembler* masm, bool in_frame) {
}
void StoreICTrampolineStub::Generate(MacroAssembler* masm) {
- __ EmitLoadTypeFeedbackVector(VectorStoreICDescriptor::VectorRegister());
+ __ EmitLoadTypeFeedbackVector(StoreWithVectorDescriptor::VectorRegister());
StoreICStub stub(isolate(), state());
stub.GenerateForTrampoline(masm);
}
void KeyedStoreICTrampolineStub::Generate(MacroAssembler* masm) {
- __ EmitLoadTypeFeedbackVector(VectorStoreICDescriptor::VectorRegister());
+ __ EmitLoadTypeFeedbackVector(StoreWithVectorDescriptor::VectorRegister());
KeyedStoreICStub stub(isolate(), state());
stub.GenerateForTrampoline(masm);
}
@@ -3604,7 +3604,7 @@ static void HandlePolymorphicStoreCase(MacroAssembler* masm, Register receiver,
// found, now call handler.
Register handler = feedback;
- DCHECK(handler.is(VectorStoreICDescriptor::ValueRegister()));
+ DCHECK(handler.is(StoreWithVectorDescriptor::ValueRegister()));
__ mov(handler, FieldOperand(feedback, FixedArray::OffsetOfElementAt(1)));
__ pop(vector);
__ pop(receiver);
@@ -3664,7 +3664,7 @@ static void HandleMonomorphicStoreCase(MacroAssembler* masm, Register receiver,
Register slot, Register weak_cell,
Label* miss) {
// The store ic value is on the stack.
- DCHECK(weak_cell.is(VectorStoreICDescriptor::ValueRegister()));
+ DCHECK(weak_cell.is(StoreWithVectorDescriptor::ValueRegister()));
ExternalReference virtual_register =
ExternalReference::virtual_handler_register(masm->isolate());
@@ -3703,11 +3703,11 @@ static void HandleMonomorphicStoreCase(MacroAssembler* masm, Register receiver,
}
void StoreICStub::GenerateImpl(MacroAssembler* masm, bool in_frame) {
- Register receiver = VectorStoreICDescriptor::ReceiverRegister(); // edx
- Register key = VectorStoreICDescriptor::NameRegister(); // ecx
- Register value = VectorStoreICDescriptor::ValueRegister(); // eax
- Register vector = VectorStoreICDescriptor::VectorRegister(); // ebx
- Register slot = VectorStoreICDescriptor::SlotRegister(); // edi
+ Register receiver = StoreWithVectorDescriptor::ReceiverRegister(); // edx
+ Register key = StoreWithVectorDescriptor::NameRegister(); // ecx
+ Register value = StoreWithVectorDescriptor::ValueRegister(); // eax
+ Register vector = StoreWithVectorDescriptor::VectorRegister(); // ebx
+ Register slot = StoreWithVectorDescriptor::SlotRegister(); // edi
Label miss;
__ push(value);
@@ -3868,11 +3868,11 @@ static void HandlePolymorphicKeyedStoreCase(MacroAssembler* masm,
}
void KeyedStoreICStub::GenerateImpl(MacroAssembler* masm, bool in_frame) {
- Register receiver = VectorStoreICDescriptor::ReceiverRegister(); // edx
- Register key = VectorStoreICDescriptor::NameRegister(); // ecx
- Register value = VectorStoreICDescriptor::ValueRegister(); // eax
- Register vector = VectorStoreICDescriptor::VectorRegister(); // ebx
- Register slot = VectorStoreICDescriptor::SlotRegister(); // edi
+ Register receiver = StoreWithVectorDescriptor::ReceiverRegister(); // edx
+ Register key = StoreWithVectorDescriptor::NameRegister(); // ecx
+ Register value = StoreWithVectorDescriptor::ValueRegister(); // eax
+ Register vector = StoreWithVectorDescriptor::VectorRegister(); // ebx
+ Register slot = StoreWithVectorDescriptor::SlotRegister(); // edi
Label miss;
__ push(value);
« no previous file with comments | « src/full-codegen/full-codegen.cc ('k') | src/ia32/interface-descriptors-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698