Revision: 11736
Author:   [email protected]
Date:     Fri Jun  8 02:15:32 2012
Log:      Tentative fix for overly clever Mac compiler.

[email protected]

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

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

=======================================
--- /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Fri Jun 8 01:48:05 2012 +++ /branches/bleeding_edge/src/ia32/stub-cache-ia32.cc Fri Jun 8 02:15:32 2012
@@ -2881,8 +2881,9 @@

     // Call the JavaScript getter with the receiver on the stack.
     __ push(edx);
-    __ 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.
     __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset));

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

Reply via email to