Commit 6afe5553 authored by plind44@gmail.com's avatar plind44@gmail.com

MIPS: Fix compilation with clang.

Port r18267 (12a613f)

BUG=
R=gergely@homejinni.com

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18268 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 64e9cbc3
...@@ -600,9 +600,10 @@ void MathExpGenerator::EmitMathExp(MacroAssembler* masm, ...@@ -600,9 +600,10 @@ void MathExpGenerator::EmitMathExp(MacroAssembler* masm,
__ bind(&done); __ bind(&done);
} }
#ifdef DEBUG
// nop(CODE_AGE_MARKER_NOP) // nop(CODE_AGE_MARKER_NOP)
static const uint32_t kCodeAgePatchFirstInstruction = 0x00010180; static const uint32_t kCodeAgePatchFirstInstruction = 0x00010180;
#endif
static byte* GetNoCodeAgeSequence(uint32_t* length) { static byte* GetNoCodeAgeSequence(uint32_t* length) {
// The sequence of instructions that is patched out for aging code is the // The sequence of instructions that is patched out for aging code is the
......
...@@ -915,12 +915,10 @@ class CallInterceptorCompiler BASE_EMBEDDED { ...@@ -915,12 +915,10 @@ class CallInterceptorCompiler BASE_EMBEDDED {
public: public:
CallInterceptorCompiler(CallStubCompiler* stub_compiler, CallInterceptorCompiler(CallStubCompiler* stub_compiler,
const ParameterCount& arguments, const ParameterCount& arguments,
Register name, Register name)
ExtraICState extra_ic_state)
: stub_compiler_(stub_compiler), : stub_compiler_(stub_compiler),
arguments_(arguments), arguments_(arguments),
name_(name), name_(name) {}
extra_ic_state_(extra_ic_state) {}
void Compile(MacroAssembler* masm, void Compile(MacroAssembler* masm,
Handle<JSObject> object, Handle<JSObject> object,
...@@ -1095,7 +1093,6 @@ class CallInterceptorCompiler BASE_EMBEDDED { ...@@ -1095,7 +1093,6 @@ class CallInterceptorCompiler BASE_EMBEDDED {
CallStubCompiler* stub_compiler_; CallStubCompiler* stub_compiler_;
const ParameterCount& arguments_; const ParameterCount& arguments_;
Register name_; Register name_;
ExtraICState extra_ic_state_;
}; };
...@@ -2463,7 +2460,7 @@ Handle<Code> CallStubCompiler::CompileCallInterceptor(Handle<JSObject> object, ...@@ -2463,7 +2460,7 @@ Handle<Code> CallStubCompiler::CompileCallInterceptor(Handle<JSObject> object,
// Get the receiver from the stack. // Get the receiver from the stack.
__ lw(a1, MemOperand(sp, argc * kPointerSize)); __ lw(a1, MemOperand(sp, argc * kPointerSize));
CallInterceptorCompiler compiler(this, arguments(), a2, extra_state()); CallInterceptorCompiler compiler(this, arguments(), a2);
compiler.Compile(masm(), object, holder, name, &lookup, a1, a3, t0, a0, compiler.Compile(masm(), object, holder, name, &lookup, a1, a3, t0, a0,
&miss); &miss);
......
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