Revision: 18268
Author:   [email protected]
Date:     Fri Dec  6 14:14:32 2013 UTC
Log:      MIPS: Fix compilation with clang.

Port r18267 (12a613f)

BUG=
[email protected]

Review URL: https://codereview.chromium.org/98403003
http://code.google.com/p/v8/source/detail?r=18268

Modified:
 /branches/bleeding_edge/src/mips/codegen-mips.cc
 /branches/bleeding_edge/src/mips/stub-cache-mips.cc

=======================================
--- /branches/bleeding_edge/src/mips/codegen-mips.cc Wed Dec 4 11:39:24 2013 UTC +++ /branches/bleeding_edge/src/mips/codegen-mips.cc Fri Dec 6 14:14:32 2013 UTC
@@ -600,9 +600,10 @@
   __ bind(&done);
 }

-
+#ifdef DEBUG
 // nop(CODE_AGE_MARKER_NOP)
 static const uint32_t kCodeAgePatchFirstInstruction = 0x00010180;
+#endif

 static byte* GetNoCodeAgeSequence(uint32_t* length) {
   // The sequence of instructions that is patched out for aging code is the
=======================================
--- /branches/bleeding_edge/src/mips/stub-cache-mips.cc Thu Dec 5 20:27:43 2013 UTC +++ /branches/bleeding_edge/src/mips/stub-cache-mips.cc Fri Dec 6 14:14:32 2013 UTC
@@ -915,12 +915,10 @@
  public:
   CallInterceptorCompiler(CallStubCompiler* stub_compiler,
                           const ParameterCount& arguments,
-                          Register name,
-                          ExtraICState extra_ic_state)
+                          Register name)
       : stub_compiler_(stub_compiler),
         arguments_(arguments),
-        name_(name),
-        extra_ic_state_(extra_ic_state) {}
+        name_(name) {}

   void Compile(MacroAssembler* masm,
                Handle<JSObject> object,
@@ -1095,7 +1093,6 @@
   CallStubCompiler* stub_compiler_;
   const ParameterCount& arguments_;
   Register name_;
-  ExtraICState extra_ic_state_;
 };


@@ -2463,7 +2460,7 @@
   // Get the receiver from the stack.
   __ 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,
                    &miss);

--
--
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/groups/opt_out.

Reply via email to