Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index ba6ac7946cdb170033dcb2742e273ce2b6b1fd51..96ac864ed8f5fba9007d745f4089b3ae0abde668 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -1489,8 +1489,8 @@ void FunctionPrototypeStub::Generate(MacroAssembler* masm) { |
Register receiver = LoadDescriptor::ReceiverRegister(); |
// Ensure that the vector and slot registers won't be clobbered before |
// calling the miss handler. |
- DCHECK(!AreAliased(r4, r5, VectorLoadICDescriptor::VectorRegister(), |
- VectorLoadICDescriptor::SlotRegister())); |
+ DCHECK(!AreAliased(r4, r5, LoadWithVectorDescriptor::VectorRegister(), |
+ LoadWithVectorDescriptor::SlotRegister())); |
NamedLoadHandlerCompiler::GenerateLoadFunctionPrototype(masm, receiver, r4, |
r5, &miss); |
@@ -1509,8 +1509,8 @@ void LoadIndexedStringStub::Generate(MacroAssembler* masm) { |
Register scratch = r5; |
Register result = r0; |
DCHECK(!scratch.is(receiver) && !scratch.is(index)); |
- DCHECK(!scratch.is(VectorLoadICDescriptor::VectorRegister()) && |
- result.is(VectorLoadICDescriptor::SlotRegister())); |
+ DCHECK(!scratch.is(LoadWithVectorDescriptor::VectorRegister()) && |
+ result.is(LoadWithVectorDescriptor::SlotRegister())); |
// StringCharAtGenerator doesn't use the result register until it's passed |
// the different miss possibilities. If it did, we would have a conflict |
@@ -2952,8 +2952,8 @@ void StringCharCodeAtGenerator::GenerateSlow( |
DONT_DO_SMI_CHECK); |
call_helper.BeforeCall(masm); |
if (embed_mode == PART_OF_IC_HANDLER) { |
- __ Push(VectorLoadICDescriptor::VectorRegister(), |
- VectorLoadICDescriptor::SlotRegister(), object_, index_); |
+ __ Push(LoadWithVectorDescriptor::VectorRegister(), |
+ LoadWithVectorDescriptor::SlotRegister(), object_, index_); |
} else { |
// index_ is consumed by runtime conversion function. |
__ Push(object_, index_); |
@@ -2969,8 +2969,8 @@ void StringCharCodeAtGenerator::GenerateSlow( |
// have a chance to overwrite it. |
__ Move(index_, r0); |
if (embed_mode == PART_OF_IC_HANDLER) { |
- __ Pop(VectorLoadICDescriptor::VectorRegister(), |
- VectorLoadICDescriptor::SlotRegister(), object_); |
+ __ Pop(LoadWithVectorDescriptor::VectorRegister(), |
+ LoadWithVectorDescriptor::SlotRegister(), object_); |
} else { |
__ pop(object_); |
} |
@@ -4362,15 +4362,15 @@ void StubFailureTrampolineStub::Generate(MacroAssembler* masm) { |
void LoadICTrampolineStub::Generate(MacroAssembler* masm) { |
- EmitLoadTypeFeedbackVector(masm, VectorLoadICDescriptor::VectorRegister()); |
- VectorRawLoadStub stub(isolate(), state()); |
+ EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister()); |
+ LoadICStub stub(isolate(), state()); |
stub.GenerateForTrampoline(masm); |
} |
void KeyedLoadICTrampolineStub::Generate(MacroAssembler* masm) { |
- EmitLoadTypeFeedbackVector(masm, VectorLoadICDescriptor::VectorRegister()); |
- VectorRawKeyedLoadStub stub(isolate()); |
+ EmitLoadTypeFeedbackVector(masm, LoadWithVectorDescriptor::VectorRegister()); |
+ KeyedLoadICStub stub(isolate()); |
stub.GenerateForTrampoline(masm); |
} |
@@ -4389,12 +4389,10 @@ void CallIC_ArrayTrampolineStub::Generate(MacroAssembler* masm) { |
} |
-void VectorRawLoadStub::Generate(MacroAssembler* masm) { |
- GenerateImpl(masm, false); |
-} |
+void LoadICStub::Generate(MacroAssembler* masm) { GenerateImpl(masm, false); } |
-void VectorRawLoadStub::GenerateForTrampoline(MacroAssembler* masm) { |
+void LoadICStub::GenerateForTrampoline(MacroAssembler* masm) { |
GenerateImpl(masm, true); |
} |
@@ -4488,11 +4486,11 @@ static void HandleMonomorphicCase(MacroAssembler* masm, Register receiver, |
} |
-void VectorRawLoadStub::GenerateImpl(MacroAssembler* masm, bool in_frame) { |
- Register receiver = VectorLoadICDescriptor::ReceiverRegister(); // r1 |
- Register name = VectorLoadICDescriptor::NameRegister(); // r2 |
- Register vector = VectorLoadICDescriptor::VectorRegister(); // r3 |
- Register slot = VectorLoadICDescriptor::SlotRegister(); // r0 |
+void LoadICStub::GenerateImpl(MacroAssembler* masm, bool in_frame) { |
+ Register receiver = LoadWithVectorDescriptor::ReceiverRegister(); // r1 |
+ Register name = LoadWithVectorDescriptor::NameRegister(); // r2 |
+ Register vector = LoadWithVectorDescriptor::VectorRegister(); // r3 |
+ Register slot = LoadWithVectorDescriptor::SlotRegister(); // r0 |
Register feedback = r4; |
Register receiver_map = r5; |
Register scratch1 = r8; |
@@ -4535,21 +4533,21 @@ void VectorRawLoadStub::GenerateImpl(MacroAssembler* masm, bool in_frame) { |
} |
-void VectorRawKeyedLoadStub::Generate(MacroAssembler* masm) { |
+void KeyedLoadICStub::Generate(MacroAssembler* masm) { |
GenerateImpl(masm, false); |
} |
-void VectorRawKeyedLoadStub::GenerateForTrampoline(MacroAssembler* masm) { |
+void KeyedLoadICStub::GenerateForTrampoline(MacroAssembler* masm) { |
GenerateImpl(masm, true); |
} |
-void VectorRawKeyedLoadStub::GenerateImpl(MacroAssembler* masm, bool in_frame) { |
- Register receiver = VectorLoadICDescriptor::ReceiverRegister(); // r1 |
- Register key = VectorLoadICDescriptor::NameRegister(); // r2 |
- Register vector = VectorLoadICDescriptor::VectorRegister(); // r3 |
- Register slot = VectorLoadICDescriptor::SlotRegister(); // r0 |
+void KeyedLoadICStub::GenerateImpl(MacroAssembler* masm, bool in_frame) { |
+ Register receiver = LoadWithVectorDescriptor::ReceiverRegister(); // r1 |
+ Register key = LoadWithVectorDescriptor::NameRegister(); // r2 |
+ Register vector = LoadWithVectorDescriptor::VectorRegister(); // r3 |
+ Register slot = LoadWithVectorDescriptor::SlotRegister(); // r0 |
Register feedback = r4; |
Register receiver_map = r5; |
Register scratch1 = r8; |