Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 2edfd0aae2a2efef623dad46a08b0042ac02f884..41c7973bed753c8eac5f3e074c7ca3d355a9b09d 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -4229,18 +4229,19 @@ Register FullCodeGenerator::context_register() { |
void FullCodeGenerator::EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode) { |
ASSERT(mode == RelocInfo::CODE_TARGET || |
mode == RelocInfo::CODE_TARGET_CONTEXT); |
+ Counters* counters = isolate()->counters(); |
switch (ic->kind()) { |
case Code::LOAD_IC: |
- __ IncrementCounter(COUNTERS->named_load_full(), 1, r1, r2); |
+ __ IncrementCounter(counters->named_load_full(), 1, r1, r2); |
break; |
case Code::KEYED_LOAD_IC: |
- __ IncrementCounter(COUNTERS->keyed_load_full(), 1, r1, r2); |
+ __ IncrementCounter(counters->keyed_load_full(), 1, r1, r2); |
break; |
case Code::STORE_IC: |
- __ IncrementCounter(COUNTERS->named_store_full(), 1, r1, r2); |
+ __ IncrementCounter(counters->named_store_full(), 1, r1, r2); |
break; |
case Code::KEYED_STORE_IC: |
- __ IncrementCounter(COUNTERS->keyed_store_full(), 1, r1, r2); |
+ __ IncrementCounter(counters->keyed_store_full(), 1, r1, r2); |
default: |
break; |
} |
@@ -4250,18 +4251,19 @@ void FullCodeGenerator::EmitCallIC(Handle<Code> ic, RelocInfo::Mode mode) { |
void FullCodeGenerator::EmitCallIC(Handle<Code> ic, JumpPatchSite* patch_site) { |
+ Counters* counters = isolate()->counters(); |
switch (ic->kind()) { |
case Code::LOAD_IC: |
- __ IncrementCounter(COUNTERS->named_load_full(), 1, r1, r2); |
+ __ IncrementCounter(counters->named_load_full(), 1, r1, r2); |
break; |
case Code::KEYED_LOAD_IC: |
- __ IncrementCounter(COUNTERS->keyed_load_full(), 1, r1, r2); |
+ __ IncrementCounter(counters->keyed_load_full(), 1, r1, r2); |
break; |
case Code::STORE_IC: |
- __ IncrementCounter(COUNTERS->named_store_full(), 1, r1, r2); |
+ __ IncrementCounter(counters->named_store_full(), 1, r1, r2); |
break; |
case Code::KEYED_STORE_IC: |
- __ IncrementCounter(COUNTERS->keyed_store_full(), 1, r1, r2); |
+ __ IncrementCounter(counters->keyed_store_full(), 1, r1, r2); |
default: |
break; |
} |