Reviewers: danno, paul.l..., gergely.kis.imgtec, balazs.kilvady, dusmil.imgtec,

Message:
PTAL.

Description:
MIPS64: Fix build after r22709.

BUG=

Please review this at https://codereview.chromium.org/430223002/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+25, -6 lines):
  M src/mips64/code-stubs-mips64.cc
  M src/mips64/lithium-mips64.h
  M src/mips64/lithium-mips64.cc


Index: src/mips64/code-stubs-mips64.cc
diff --git a/src/mips64/code-stubs-mips64.cc b/src/mips64/code-stubs-mips64.cc index 65f808fc46eb950a2503ccdb1ae33553fda0ec42..599ca16232da77f822ddea9aa05a4266ea44a845 100644
--- a/src/mips64/code-stubs-mips64.cc
+++ b/src/mips64/code-stubs-mips64.cc
@@ -72,6 +72,18 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
 }


+void CallFunctionStub::InitializeInterfaceDescriptor(
+    CodeStubInterfaceDescriptor* descriptor) {
+  UNIMPLEMENTED();
+}
+
+
+void CallConstructStub::InitializeInterfaceDescriptor(
+    CodeStubInterfaceDescriptor* descriptor) {
+  UNIMPLEMENTED();
+}
+
+
 void CreateAllocationSiteStub::InitializeInterfaceDescriptor(
     CodeStubInterfaceDescriptor* descriptor) {
   Register registers[] = { cp, a2, a3 };
@@ -155,7 +167,7 @@ static void InitializeInternalArrayConstructorDescriptor(

   if (constant_stack_parameter_count == 0) {
     Register registers[] = { cp, a1 };
-    descriptor->Initialize(MajorKey(), ARRAY_SIZE(registers), registers,
+    descriptor->Initialize(major, ARRAY_SIZE(registers), registers,
deopt_handler, NULL, constant_stack_parameter_count,
                            JS_FUNCTION_STUB_MODE);
   } else {
@@ -165,7 +177,7 @@ static void InitializeInternalArrayConstructorDescriptor(
         Representation::Tagged(),
         Representation::Tagged(),
         Representation::Integer32() };
- descriptor->Initialize(MajorKey(), ARRAY_SIZE(registers), registers, a0,
+    descriptor->Initialize(major, ARRAY_SIZE(registers), registers, a0,
                            deopt_handler, representations,
                            constant_stack_parameter_count,
                            JS_FUNCTION_STUB_MODE, PASS_ARGUMENTS);
Index: src/mips64/lithium-mips64.cc
diff --git a/src/mips64/lithium-mips64.cc b/src/mips64/lithium-mips64.cc
index c2de853e199e297ee58bce29578fa9f62c0e5848..f1725446cf2c928fa68dcdc05b497c674fa6f04d 100644
--- a/src/mips64/lithium-mips64.cc
+++ b/src/mips64/lithium-mips64.cc
@@ -4,10 +4,11 @@

 #include "src/v8.h"

+#if V8_TARGET_ARCH_MIPS64
+
 #include "src/hydrogen-osr.h"
-#include "src/lithium-allocator-inl.h"
+#include "src/lithium-inl.h"
 #include "src/mips64/lithium-codegen-mips64.h"
-#include "src/mips64/lithium-mips64.h"

 namespace v8 {
 namespace internal {
@@ -2575,3 +2576,5 @@ LInstruction* LChunkBuilder::DoAllocateBlockContext(


 } }  // namespace v8::internal
+
+#endif  // V8_TARGET_ARCH_MIPS64
Index: src/mips64/lithium-mips64.h
diff --git a/src/mips64/lithium-mips64.h b/src/mips64/lithium-mips64.h
index 395a39c697116277316f2e8c2691ea3988e6a751..92b73cce6a9f63903f7ca19413d7759c1a838d75 100644
--- a/src/mips64/lithium-mips64.h
+++ b/src/mips64/lithium-mips64.h
@@ -219,6 +219,9 @@ class LInstruction : public ZoneObject {

   virtual bool IsControl() const { return false; }

+  // Try deleting this instruction if possible.
+  virtual bool TryDelete() { return false; }
+
   void set_environment(LEnvironment* env) { environment_ = env; }
   LEnvironment* environment() const { return environment_; }
   bool HasEnvironment() const { return environment_ != NULL; }
@@ -257,11 +260,12 @@ class LInstruction : public ZoneObject {
   void VerifyCall();
 #endif

+  virtual int InputCount() = 0;
+  virtual LOperand* InputAt(int i) = 0;
+
  private:
   // Iterator interface.
   friend class InputIterator;
-  virtual int InputCount() = 0;
-  virtual LOperand* InputAt(int i) = 0;

   friend class TempIterator;
   virtual int TempCount() = 0;


--
--
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.

Reply via email to