Revision: 11738
Author:   [email protected]
Date:     Fri Jun  8 05:53:20 2012
Log:      Make clang/GCMole happy.

[email protected]

Review URL: https://chromiumcodereview.appspot.com/10532065
http://code.google.com/p/v8/source/detail?r=11738

Modified:
 /branches/bleeding_edge/src/arm/stub-cache-arm.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 Fri Jun 8 01:48:05 2012 +++ /branches/bleeding_edge/src/arm/stub-cache-arm.cc Fri Jun 8 05:53:20 2012
@@ -2856,8 +2856,9 @@

     // Call the JavaScript getter with the receiver on the stack.
     __ push(r0);
-    __ InvokeFunction(getter, ParameterCount(0), CALL_FUNCTION,
-                      NullCallWrapper(), CALL_AS_METHOD);
+    ParameterCount actual(0);
+    __ InvokeFunction(getter, actual, CALL_FUNCTION, NullCallWrapper(),
+                      CALL_AS_METHOD);

     // Restore context register.
     __ ldr(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
=======================================
--- /branches/bleeding_edge/src/mips/stub-cache-mips.cc Fri Jun 8 01:48:05 2012 +++ /branches/bleeding_edge/src/mips/stub-cache-mips.cc Fri Jun 8 05:53:20 2012
@@ -2860,8 +2860,9 @@

     // Call the JavaScript getter with the receiver on the stack.
     __ push(a0);
-    __ InvokeFunction(getter, ParameterCount(0), CALL_FUNCTION,
-                      NullCallWrapper(), CALL_AS_METHOD);
+    ParameterCount actual(0);
+    __ InvokeFunction(getter, actual, CALL_FUNCTION, NullCallWrapper(),
+                      CALL_AS_METHOD);

     // Restore context register.
     __ lw(cp, MemOperand(fp, StandardFrameConstants::kContextOffset));
=======================================
--- /branches/bleeding_edge/src/x64/stub-cache-x64.cc Fri Jun 8 01:48:05 2012 +++ /branches/bleeding_edge/src/x64/stub-cache-x64.cc Fri Jun 8 05:53:20 2012
@@ -2719,8 +2719,9 @@

     // Call the JavaScript getter with the receiver on the stack.
     __ push(rax);
-    __ InvokeFunction(getter, ParameterCount(0), CALL_FUNCTION,
-                      NullCallWrapper(), CALL_AS_METHOD);
+    ParameterCount actual(0);
+    __ InvokeFunction(getter, actual, CALL_FUNCTION, NullCallWrapper(),
+                      CALL_AS_METHOD);

     // Restore context register.
     __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset));

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to