Revision: 18969
Author:   [email protected]
Date:     Fri Jan 31 07:02:33 2014 UTC
Log: Fix compiler error on MacOS, remove unused ParameterCount member in CallInterceptorCompiler.

BUG=
[email protected]

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

Modified:
 /branches/bleeding_edge/src/arm/stub-cache-arm.cc
 /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc
 /branches/bleeding_edge/src/mips/stub-cache-mips.cc
 /branches/bleeding_edge/src/x64/stub-cache-x64.cc

=======================================
--- /branches/bleeding_edge/src/arm/stub-cache-arm.cc Thu Jan 30 17:45:09 2014 UTC +++ /branches/bleeding_edge/src/arm/stub-cache-arm.cc Fri Jan 31 07:02:33 2014 UTC
@@ -861,10 +861,8 @@
 class CallInterceptorCompiler BASE_EMBEDDED {
  public:
   CallInterceptorCompiler(CallStubCompiler* stub_compiler,
-                          const ParameterCount& arguments,
                           Register name)
       : stub_compiler_(stub_compiler),
-        arguments_(arguments),
         name_(name) {}

   void Compile(MacroAssembler* masm,
@@ -997,7 +995,6 @@
   }

   CallStubCompiler* stub_compiler_;
-  const ParameterCount& arguments_;
   Register name_;
 };

@@ -1570,7 +1567,7 @@
   // Get the receiver from the stack.
   __ ldr(r1, MemOperand(sp, argc * kPointerSize));

-  CallInterceptorCompiler compiler(this, arguments(), r2);
+  CallInterceptorCompiler compiler(this, r2);
   compiler.Compile(masm(), object, holder, name, &lookup, r1, r3, r4, r0,
                    &miss);

=======================================
--- /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Thu Jan 30 17:45:09 2014 UTC +++ /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Fri Jan 31 07:02:33 2014 UTC
@@ -500,10 +500,8 @@
 class CallInterceptorCompiler BASE_EMBEDDED {
  public:
   CallInterceptorCompiler(CallStubCompiler* stub_compiler,
-                          const ParameterCount& arguments,
                           Register name)
       : stub_compiler_(stub_compiler),
-        arguments_(arguments),
         name_(name) {}

   void Compile(MacroAssembler* masm,
@@ -637,7 +635,6 @@
   }

   CallStubCompiler* stub_compiler_;
-  const ParameterCount& arguments_;
   Register name_;
 };

@@ -1579,7 +1576,7 @@
   // Get the receiver from the stack.
   __ mov(edx, Operand(esp, (argc + 1) * kPointerSize));

-  CallInterceptorCompiler compiler(this, arguments(), ecx);
+  CallInterceptorCompiler compiler(this, ecx);
compiler.Compile(masm(), object, holder, name, &lookup, edx, ebx, edi, eax,
                    &miss);

=======================================
--- /branches/bleeding_edge/src/mips/stub-cache-mips.cc Fri Jan 31 00:49:07 2014 UTC +++ /branches/bleeding_edge/src/mips/stub-cache-mips.cc Fri Jan 31 07:02:33 2014 UTC
@@ -849,10 +849,8 @@
 class CallInterceptorCompiler BASE_EMBEDDED {
  public:
   CallInterceptorCompiler(CallStubCompiler* stub_compiler,
-                          const ParameterCount& arguments,
                           Register name)
       : stub_compiler_(stub_compiler),
-        arguments_(arguments),
         name_(name) {}

   void Compile(MacroAssembler* masm,
@@ -984,7 +982,6 @@
   }

   CallStubCompiler* stub_compiler_;
-  const ParameterCount& arguments_;
   Register name_;
 };

@@ -1553,7 +1550,7 @@
   // Get the receiver from the stack.
   __ lw(a1, MemOperand(sp, argc * kPointerSize));

-  CallInterceptorCompiler compiler(this, arguments(), a2);
+  CallInterceptorCompiler compiler(this, a2);
   compiler.Compile(masm(), object, holder, name, &lookup, a1, a3, t0, a0,
                    &miss);

=======================================
--- /branches/bleeding_edge/src/x64/stub-cache-x64.cc Thu Jan 30 17:45:09 2014 UTC +++ /branches/bleeding_edge/src/x64/stub-cache-x64.cc Fri Jan 31 07:02:33 2014 UTC
@@ -471,10 +471,8 @@
 class CallInterceptorCompiler BASE_EMBEDDED {
  public:
   CallInterceptorCompiler(CallStubCompiler* stub_compiler,
-                          const ParameterCount& arguments,
                           Register name)
       : stub_compiler_(stub_compiler),
-        arguments_(arguments),
         name_(name) {}

   void Compile(MacroAssembler* masm,
@@ -609,7 +607,6 @@
   }

   CallStubCompiler* stub_compiler_;
-  const ParameterCount& arguments_;
   Register name_;
 };

@@ -1465,7 +1462,7 @@
   StackArgumentsAccessor args(rsp, arguments());
   __ movp(rdx, args.GetReceiverOperand());

-  CallInterceptorCompiler compiler(this, arguments(), rcx);
+  CallInterceptorCompiler compiler(this, rcx);
compiler.Compile(masm(), object, holder, name, &lookup, rdx, rbx, rdi, rax,
                    &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