Index: src/arm/builtins-arm.cc |
=================================================================== |
--- src/arm/builtins-arm.cc (revision 3427) |
+++ src/arm/builtins-arm.cc (working copy) |
@@ -300,7 +300,7 @@ |
r5, |
JSArray::kPreallocatedArrayElements, |
call_generic_code); |
- __ IncrementCounter(&Counters::array_function_native, 1, r3, r4); |
+ __ IncrementCounter(&COUNTER(array_function_native), 1, r3, r4); |
// Setup return value, remove receiver from stack and return. |
__ mov(r0, r2); |
__ add(sp, sp, Operand(kPointerSize)); |
@@ -336,7 +336,7 @@ |
r7, |
true, |
call_generic_code); |
- __ IncrementCounter(&Counters::array_function_native, 1, r2, r4); |
+ __ IncrementCounter(&COUNTER(array_function_native), 1, r2, r4); |
// Setup return value, remove receiver and argument from stack and return. |
__ mov(r0, r3); |
__ add(sp, sp, Operand(2 * kPointerSize)); |
@@ -360,7 +360,7 @@ |
r7, |
false, |
call_generic_code); |
- __ IncrementCounter(&Counters::array_function_native, 1, r2, r6); |
+ __ IncrementCounter(&COUNTER(array_function_native), 1, r2, r6); |
// Fill arguments as array elements. Copy from the top of the stack (last |
// element) to the array backing store filling it backwards. Note: |
@@ -778,7 +778,7 @@ |
__ LeaveConstructFrame(); |
__ add(sp, sp, Operand(r1, LSL, kPointerSizeLog2 - 1)); |
__ add(sp, sp, Operand(kPointerSize)); |
- __ IncrementCounter(&Counters::constructed_objects, 1, r1, r2); |
+ __ IncrementCounter(&COUNTER(constructed_objects), 1, r1, r2); |
__ Jump(lr); |
} |