Index: src/ic/ic.cc |
diff --git a/src/ic/ic.cc b/src/ic/ic.cc |
index 6c356b2f443f02467e7d52f5b0286b90f294bd35..6e647ced4bab34c3e83fce9fdf497a183bc6501b 100644 |
--- a/src/ic/ic.cc |
+++ b/src/ic/ic.cc |
@@ -2235,6 +2235,7 @@ |
// Used from ic-<arch>.cc. |
RUNTIME_FUNCTION(Runtime_CallIC_Miss) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
DCHECK(args.length() == 3); |
Handle<Object> function = args.at<Object>(0); |
@@ -2251,6 +2252,7 @@ |
// Used from ic-<arch>.cc. |
RUNTIME_FUNCTION(Runtime_LoadIC_Miss) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
Handle<Object> receiver = args.at<Object>(0); |
@@ -2314,6 +2316,7 @@ |
// Used from ic-<arch>.cc |
RUNTIME_FUNCTION(Runtime_KeyedLoadIC_Miss) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
Handle<Object> receiver = args.at<Object>(0); |
Handle<Object> key = args.at<Object>(1); |
@@ -2331,6 +2334,7 @@ |
RUNTIME_FUNCTION(Runtime_KeyedLoadIC_MissFromStubFailure) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
DCHECK_EQ(4, args.length()); |
typedef LoadWithVectorDescriptor Descriptor; |
@@ -2350,6 +2354,7 @@ |
// Used from ic-<arch>.cc. |
RUNTIME_FUNCTION(Runtime_StoreIC_Miss) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
Handle<Object> receiver = args.at<Object>(0); |
Handle<Name> key = args.at<Name>(1); |
@@ -2377,6 +2382,7 @@ |
RUNTIME_FUNCTION(Runtime_StoreIC_MissFromStubFailure) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
DCHECK_EQ(5, args.length()); |
typedef StoreWithVectorDescriptor Descriptor; |
@@ -2405,6 +2411,7 @@ |
RUNTIME_FUNCTION(Runtime_TransitionStoreIC_MissFromStubFailure) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
Handle<Object> receiver = args.at<Object>(0); |
Handle<Name> key = args.at<Name>(1); |
@@ -2450,6 +2457,7 @@ |
// Used from ic-<arch>.cc. |
RUNTIME_FUNCTION(Runtime_KeyedStoreIC_Miss) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
DCHECK_EQ(5, args.length()); |
Handle<Object> receiver = args.at<Object>(0); |
@@ -2467,6 +2475,7 @@ |
RUNTIME_FUNCTION(Runtime_KeyedStoreIC_MissFromStubFailure) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
DCHECK_EQ(5, args.length()); |
typedef StoreWithVectorDescriptor Descriptor; |
@@ -2502,6 +2511,7 @@ |
RUNTIME_FUNCTION(Runtime_ElementsTransitionAndStoreIC_Miss) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
// Length == 5 or 6, depending on whether the vector slot |
// is passed in a virtual register or not. |
@@ -2643,6 +2653,7 @@ |
RUNTIME_FUNCTION(Runtime_BinaryOpIC_Miss) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
DCHECK_EQ(2, args.length()); |
typedef BinaryOpDescriptor Descriptor; |
@@ -2656,6 +2667,7 @@ |
RUNTIME_FUNCTION(Runtime_BinaryOpIC_MissWithAllocationSite) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
DCHECK_EQ(3, args.length()); |
typedef BinaryOpWithAllocationSiteDescriptor Descriptor; |
@@ -2720,6 +2732,7 @@ |
// Used from CompareICStub::GenerateMiss in code-stubs-<arch>.cc. |
RUNTIME_FUNCTION(Runtime_CompareIC_Miss) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
DCHECK(args.length() == 3); |
CompareIC ic(isolate, static_cast<Token::Value>(args.smi_at(2))); |
@@ -2745,6 +2758,7 @@ |
RUNTIME_FUNCTION(Runtime_ToBooleanIC_Miss) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
DCHECK(args.length() == 1); |
HandleScope scope(isolate); |
Handle<Object> object = args.at<Object>(0); |
@@ -2955,6 +2969,7 @@ |
RUNTIME_FUNCTION(Runtime_LoadIC_MissFromStubFailure) { |
TimerEventScope<TimerEventIcMiss> timer(isolate); |
+ TRACE_EVENT0(TRACE_DISABLED_BY_DEFAULT("v8"), "V8.IcMiss"); |
HandleScope scope(isolate); |
DCHECK_EQ(4, args.length()); |
typedef LoadWithVectorDescriptor Descriptor; |