Index: src/x64/full-codegen-x64.cc |
diff --git a/src/x64/full-codegen-x64.cc b/src/x64/full-codegen-x64.cc |
index 225359656134e36d60300b117224af625b086016..3b491525d2d09a676452e33c65262f8985c915d3 100644 |
--- a/src/x64/full-codegen-x64.cc |
+++ b/src/x64/full-codegen-x64.cc |
@@ -3884,18 +3884,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); |
+ __ IncrementCounter(counters->named_load_full(), 1); |
break; |
case Code::KEYED_LOAD_IC: |
- __ IncrementCounter(COUNTERS->keyed_load_full(), 1); |
+ __ IncrementCounter(counters->keyed_load_full(), 1); |
break; |
case Code::STORE_IC: |
- __ IncrementCounter(COUNTERS->named_store_full(), 1); |
+ __ IncrementCounter(counters->named_store_full(), 1); |
break; |
case Code::KEYED_STORE_IC: |
- __ IncrementCounter(COUNTERS->keyed_store_full(), 1); |
+ __ IncrementCounter(counters->keyed_store_full(), 1); |
default: |
break; |
} |
@@ -3927,18 +3928,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); |
+ __ IncrementCounter(counters->named_load_full(), 1); |
break; |
case Code::KEYED_LOAD_IC: |
- __ IncrementCounter(COUNTERS->keyed_load_full(), 1); |
+ __ IncrementCounter(counters->keyed_load_full(), 1); |
break; |
case Code::STORE_IC: |
- __ IncrementCounter(COUNTERS->named_store_full(), 1); |
+ __ IncrementCounter(counters->named_store_full(), 1); |
break; |
case Code::KEYED_STORE_IC: |
- __ IncrementCounter(COUNTERS->keyed_store_full(), 1); |
+ __ IncrementCounter(counters->keyed_store_full(), 1); |
default: |
break; |
} |