Commit 73d975e1 authored by akos.palfi@imgtec.com's avatar akos.palfi@imgtec.com

MIPS64: Fix build after r22709.

BUG=
R=paul.lind@imgtec.com

Review URL: https://codereview.chromium.org/430223002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22764 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent dcde756f
...@@ -72,6 +72,18 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor( ...@@ -72,6 +72,18 @@ void FastCloneShallowObjectStub::InitializeInterfaceDescriptor(
} }
void CallFunctionStub::InitializeInterfaceDescriptor(
CodeStubInterfaceDescriptor* descriptor) {
UNIMPLEMENTED();
}
void CallConstructStub::InitializeInterfaceDescriptor(
CodeStubInterfaceDescriptor* descriptor) {
UNIMPLEMENTED();
}
void CreateAllocationSiteStub::InitializeInterfaceDescriptor( void CreateAllocationSiteStub::InitializeInterfaceDescriptor(
CodeStubInterfaceDescriptor* descriptor) { CodeStubInterfaceDescriptor* descriptor) {
Register registers[] = { cp, a2, a3 }; Register registers[] = { cp, a2, a3 };
...@@ -155,7 +167,7 @@ static void InitializeInternalArrayConstructorDescriptor( ...@@ -155,7 +167,7 @@ static void InitializeInternalArrayConstructorDescriptor(
if (constant_stack_parameter_count == 0) { if (constant_stack_parameter_count == 0) {
Register registers[] = { cp, a1 }; 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, deopt_handler, NULL, constant_stack_parameter_count,
JS_FUNCTION_STUB_MODE); JS_FUNCTION_STUB_MODE);
} else { } else {
...@@ -165,7 +177,7 @@ static void InitializeInternalArrayConstructorDescriptor( ...@@ -165,7 +177,7 @@ static void InitializeInternalArrayConstructorDescriptor(
Representation::Tagged(), Representation::Tagged(),
Representation::Tagged(), Representation::Tagged(),
Representation::Integer32() }; Representation::Integer32() };
descriptor->Initialize(MajorKey(), ARRAY_SIZE(registers), registers, a0, descriptor->Initialize(major, ARRAY_SIZE(registers), registers, a0,
deopt_handler, representations, deopt_handler, representations,
constant_stack_parameter_count, constant_stack_parameter_count,
JS_FUNCTION_STUB_MODE, PASS_ARGUMENTS); JS_FUNCTION_STUB_MODE, PASS_ARGUMENTS);
......
...@@ -4,10 +4,11 @@ ...@@ -4,10 +4,11 @@
#include "src/v8.h" #include "src/v8.h"
#if V8_TARGET_ARCH_MIPS64
#include "src/hydrogen-osr.h" #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-codegen-mips64.h"
#include "src/mips64/lithium-mips64.h"
namespace v8 { namespace v8 {
namespace internal { namespace internal {
...@@ -2575,3 +2576,5 @@ LInstruction* LChunkBuilder::DoAllocateBlockContext( ...@@ -2575,3 +2576,5 @@ LInstruction* LChunkBuilder::DoAllocateBlockContext(
} } // namespace v8::internal } } // namespace v8::internal
#endif // V8_TARGET_ARCH_MIPS64
...@@ -219,6 +219,9 @@ class LInstruction : public ZoneObject { ...@@ -219,6 +219,9 @@ class LInstruction : public ZoneObject {
virtual bool IsControl() const { return false; } virtual bool IsControl() const { return false; }
// Try deleting this instruction if possible.
virtual bool TryDelete() { return false; }
void set_environment(LEnvironment* env) { environment_ = env; } void set_environment(LEnvironment* env) { environment_ = env; }
LEnvironment* environment() const { return environment_; } LEnvironment* environment() const { return environment_; }
bool HasEnvironment() const { return environment_ != NULL; } bool HasEnvironment() const { return environment_ != NULL; }
...@@ -257,11 +260,12 @@ class LInstruction : public ZoneObject { ...@@ -257,11 +260,12 @@ class LInstruction : public ZoneObject {
void VerifyCall(); void VerifyCall();
#endif #endif
virtual int InputCount() = 0;
virtual LOperand* InputAt(int i) = 0;
private: private:
// Iterator interface. // Iterator interface.
friend class InputIterator; friend class InputIterator;
virtual int InputCount() = 0;
virtual LOperand* InputAt(int i) = 0;
friend class TempIterator; friend class TempIterator;
virtual int TempCount() = 0; virtual int TempCount() = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment