Revision: 10069
Author:   yang...@chromium.org
Date:     Fri Nov 25 05:38:43 2011
Log:      Fixing build errors on arm.

Review URL: http://codereview.chromium.org/8698005
http://code.google.com/p/v8/source/detail?r=10069

Modified:
 /branches/bleeding_edge/src/arm/code-stubs-arm.cc

=======================================
--- /branches/bleeding_edge/src/arm/code-stubs-arm.cc Fri Nov 25 05:15:31 2011 +++ /branches/bleeding_edge/src/arm/code-stubs-arm.cc Fri Nov 25 05:38:43 2011
@@ -3273,7 +3273,8 @@
     __ b(ne, &calculate);
     // Cache hit. Load result, cleanup and return.
     Counters* counters = masm->isolate()->counters();
-    __ IncrementCounter(counters->transcendental_cache_hit(), 1);
+    __ IncrementCounter(
+        counters->transcendental_cache_hit(), 1, scratch0, scratch1);
     if (tagged) {
       // Pop input value from stack and load result into r0.
       __ pop();
@@ -3286,7 +3287,9 @@
   }  // if (CpuFeatures::IsSupported(VFP3))

   __ bind(&calculate);
-  __ IncrementCounter(counters->transcendental_cache_miss(), 1);
+  Counters* counters = masm->isolate()->counters();
+  __ IncrementCounter(
+      counters->transcendental_cache_miss(), 1, scratch0, scratch1);
   if (tagged) {
     __ bind(&invalid_cache);
     ExternalReference runtime_function =

--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev

Reply via email to