Revision: 23574
Author: [email protected]
Date: Mon Sep 1 18:04:48 2014 UTC
Log: MIPS: InterfaceDescriptor becomes CallInterfaceDescriptor.
Port r23560 (9a63ff6)
Original commit message:
There was no difference between these two classes in a hierarchical
relationship.
BUG=
[email protected]
Review URL: https://codereview.chromium.org/530783003
https://code.google.com/p/v8/source/detail?r=23574
Modified:
/branches/bleeding_edge/src/mips/interface-descriptors-mips.cc
/branches/bleeding_edge/src/mips/lithium-mips.cc
/branches/bleeding_edge/src/mips/lithium-mips.h
/branches/bleeding_edge/src/mips64/interface-descriptors-mips64.cc
/branches/bleeding_edge/src/mips64/lithium-mips64.cc
/branches/bleeding_edge/src/mips64/lithium-mips64.h
=======================================
--- /branches/bleeding_edge/src/mips/interface-descriptors-mips.cc Mon Sep
1 18:02:35 2014 UTC
+++ /branches/bleeding_edge/src/mips/interface-descriptors-mips.cc Mon Sep
1 18:04:48 2014 UTC
@@ -11,7 +11,7 @@
namespace v8 {
namespace internal {
-const Register InterfaceDescriptor::ContextRegister() { return cp; }
+const Register CallInterfaceDescriptor::ContextRegister() { return cp; }
void CallDescriptors::InitializeForIsolate(Isolate* isolate) {
=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.cc Mon Sep 1 09:31:14
2014 UTC
+++ /branches/bleeding_edge/src/mips/lithium-mips.cc Mon Sep 1 18:04:48
2014 UTC
@@ -1087,7 +1087,7 @@
LInstruction* LChunkBuilder::DoCallWithDescriptor(
HCallWithDescriptor* instr) {
- const InterfaceDescriptor* descriptor = instr->descriptor();
+ const CallInterfaceDescriptor* descriptor = instr->descriptor();
LOperand* target = UseRegisterOrConstantAtStart(instr->target());
ZoneList<LOperand*> ops(instr->OperandCount(), zone());
=======================================
--- /branches/bleeding_edge/src/mips/lithium-mips.h Tue Aug 12 19:04:15
2014 UTC
+++ /branches/bleeding_edge/src/mips/lithium-mips.h Mon Sep 1 18:04:48
2014 UTC
@@ -1837,18 +1837,17 @@
class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> {
public:
- LCallWithDescriptor(const InterfaceDescriptor* descriptor,
- const ZoneList<LOperand*>& operands,
- Zone* zone)
- : descriptor_(descriptor),
- inputs_(descriptor->GetRegisterParameterCount() + 1, zone) {
+ LCallWithDescriptor(const CallInterfaceDescriptor* descriptor,
+ const ZoneList<LOperand*>& operands, Zone* zone)
+ : descriptor_(descriptor),
+ inputs_(descriptor->GetRegisterParameterCount() + 1, zone) {
DCHECK(descriptor->GetRegisterParameterCount() + 1 ==
operands.length());
inputs_.AddAll(operands, zone);
}
LOperand* target() const { return inputs_[0]; }
- const InterfaceDescriptor* descriptor() { return descriptor_; }
+ const CallInterfaceDescriptor* descriptor() { return descriptor_; }
private:
DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor")
@@ -1858,7 +1857,7 @@
int arity() const { return hydrogen()->argument_count() - 1; }
- const InterfaceDescriptor* descriptor_;
+ const CallInterfaceDescriptor* descriptor_;
ZoneList<LOperand*> inputs_;
// Iterator support.
=======================================
--- /branches/bleeding_edge/src/mips64/interface-descriptors-mips64.cc Mon
Sep 1 18:02:35 2014 UTC
+++ /branches/bleeding_edge/src/mips64/interface-descriptors-mips64.cc Mon
Sep 1 18:04:48 2014 UTC
@@ -11,7 +11,7 @@
namespace v8 {
namespace internal {
-const Register InterfaceDescriptor::ContextRegister() { return cp; }
+const Register CallInterfaceDescriptor::ContextRegister() { return cp; }
void CallDescriptors::InitializeForIsolate(Isolate* isolate) {
=======================================
--- /branches/bleeding_edge/src/mips64/lithium-mips64.cc Mon Sep 1
09:31:14 2014 UTC
+++ /branches/bleeding_edge/src/mips64/lithium-mips64.cc Mon Sep 1
18:04:48 2014 UTC
@@ -1087,7 +1087,7 @@
LInstruction* LChunkBuilder::DoCallWithDescriptor(
HCallWithDescriptor* instr) {
- const InterfaceDescriptor* descriptor = instr->descriptor();
+ const CallInterfaceDescriptor* descriptor = instr->descriptor();
LOperand* target = UseRegisterOrConstantAtStart(instr->target());
ZoneList<LOperand*> ops(instr->OperandCount(), zone());
=======================================
--- /branches/bleeding_edge/src/mips64/lithium-mips64.h Tue Aug 12 13:33:35
2014 UTC
+++ /branches/bleeding_edge/src/mips64/lithium-mips64.h Mon Sep 1 18:04:48
2014 UTC
@@ -1836,18 +1836,17 @@
class LCallWithDescriptor V8_FINAL : public LTemplateResultInstruction<1> {
public:
- LCallWithDescriptor(const InterfaceDescriptor* descriptor,
- const ZoneList<LOperand*>& operands,
- Zone* zone)
- : descriptor_(descriptor),
- inputs_(descriptor->GetRegisterParameterCount() + 1, zone) {
+ LCallWithDescriptor(const CallInterfaceDescriptor* descriptor,
+ const ZoneList<LOperand*>& operands, Zone* zone)
+ : descriptor_(descriptor),
+ inputs_(descriptor->GetRegisterParameterCount() + 1, zone) {
DCHECK(descriptor->GetRegisterParameterCount() + 1 ==
operands.length());
inputs_.AddAll(operands, zone);
}
LOperand* target() const { return inputs_[0]; }
- const InterfaceDescriptor* descriptor() { return descriptor_; }
+ const CallInterfaceDescriptor* descriptor() { return descriptor_; }
private:
DECLARE_CONCRETE_INSTRUCTION(CallWithDescriptor, "call-with-descriptor")
@@ -1857,7 +1856,7 @@
int arity() const { return hydrogen()->argument_count() - 1; }
- const InterfaceDescriptor* descriptor_;
+ const CallInterfaceDescriptor* descriptor_;
ZoneList<LOperand*> inputs_;
// Iterator support.
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.