Index: src/ia32/ic-ia32.cc |
=================================================================== |
--- src/ia32/ic-ia32.cc (revision 3427) |
+++ src/ia32/ic-ia32.cc (working copy) |
@@ -270,7 +270,7 @@ |
// In case the loaded value is the_hole we have to consult GetProperty |
// to ensure the prototype chain is searched. |
__ j(equal, &slow); |
- __ IncrementCounter(&Counters::keyed_load_generic_smi, 1); |
+ __ IncrementCounter(&COUNTER(keyed_load_generic_smi), 1); |
__ ret(0); |
// Check whether the elements is a pixel array. |
@@ -289,7 +289,7 @@ |
// Slow case: Load name and receiver from stack and jump to runtime. |
__ bind(&slow); |
- __ IncrementCounter(&Counters::keyed_load_generic_slow, 1); |
+ __ IncrementCounter(&COUNTER(keyed_load_generic_slow), 1); |
Generate(masm, ExternalReference(Runtime::kKeyedGetProperty)); |
__ bind(&check_string); |
@@ -311,7 +311,7 @@ |
GenerateDictionaryLoad(masm, &slow, ebx, ecx, edx, eax); |
GenerateCheckNonObjectOrLoaded(masm, &slow, ecx, edx); |
__ mov(eax, Operand(ecx)); |
- __ IncrementCounter(&Counters::keyed_load_generic_symbol, 1); |
+ __ IncrementCounter(&COUNTER(keyed_load_generic_symbol), 1); |
__ ret(0); |
// If the hash field contains an array index pick it out. The assert checks |
// that the constants for the maximum number of digits for an array index |
@@ -482,7 +482,7 @@ |
// Slow case: Load name and receiver from stack and jump to runtime. |
__ bind(&slow); |
- __ IncrementCounter(&Counters::keyed_load_external_array_slow, 1); |
+ __ IncrementCounter(&COUNTER(keyed_load_external_array_slow), 1); |
Generate(masm, ExternalReference(Runtime::kKeyedGetProperty)); |
} |