| Index: src/stub-cache.cc
|
| diff --git a/src/stub-cache.cc b/src/stub-cache.cc
|
| index c15038ee9ecc3f13c63ae159a2bea5af453c3262..cac9d2c03be6af0e3606c194bd8b558dcbbbaa81 100644
|
| --- a/src/stub-cache.cc
|
| +++ b/src/stub-cache.cc
|
| @@ -607,6 +607,7 @@ Handle<Code> StubCompiler::CompileLoadInitialize(Code::Flags flags) {
|
| Handle<Code> code = GetCodeWithFlags(flags, "CompileLoadInitialize");
|
| PROFILE(isolate(),
|
| CodeCreateEvent(Logger::LOAD_INITIALIZE_TAG, *code, 0));
|
| + isolate()->CodeCreateEvent(*code, "args_count: 0");
|
| GDBJIT(AddCode(GDBJITInterface::LOAD_IC, *code));
|
| return code;
|
| }
|
| @@ -617,6 +618,7 @@ Handle<Code> StubCompiler::CompileLoadPreMonomorphic(Code::Flags flags) {
|
| Handle<Code> code = GetCodeWithFlags(flags, "CompileLoadPreMonomorphic");
|
| PROFILE(isolate(),
|
| CodeCreateEvent(Logger::LOAD_PREMONOMORPHIC_TAG, *code, 0));
|
| + isolate()->CodeCreateEvent(*code, "args_count: 0");
|
| GDBJIT(AddCode(GDBJITInterface::LOAD_IC, *code));
|
| return code;
|
| }
|
| @@ -627,6 +629,7 @@ Handle<Code> StubCompiler::CompileLoadMegamorphic(Code::Flags flags) {
|
| Handle<Code> code = GetCodeWithFlags(flags, "CompileLoadMegamorphic");
|
| PROFILE(isolate(),
|
| CodeCreateEvent(Logger::LOAD_MEGAMORPHIC_TAG, *code, 0));
|
| + isolate()->CodeCreateEvent(*code, "args_count: 0");
|
| GDBJIT(AddCode(GDBJITInterface::LOAD_IC, *code));
|
| return code;
|
| }
|
| @@ -637,6 +640,7 @@ Handle<Code> StubCompiler::CompileStoreInitialize(Code::Flags flags) {
|
| Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreInitialize");
|
| PROFILE(isolate(),
|
| CodeCreateEvent(Logger::STORE_INITIALIZE_TAG, *code, 0));
|
| + isolate()->CodeCreateEvent(*code, "args_count: 0");
|
| GDBJIT(AddCode(GDBJITInterface::STORE_IC, *code));
|
| return code;
|
| }
|
| @@ -647,6 +651,7 @@ Handle<Code> StubCompiler::CompileStorePreMonomorphic(Code::Flags flags) {
|
| Handle<Code> code = GetCodeWithFlags(flags, "CompileStorePreMonomorphic");
|
| PROFILE(isolate(),
|
| CodeCreateEvent(Logger::STORE_PREMONOMORPHIC_TAG, *code, 0));
|
| + isolate()->CodeCreateEvent(*code, "args_count: 0");
|
| GDBJIT(AddCode(GDBJITInterface::STORE_IC, *code));
|
| return code;
|
| }
|
| @@ -659,6 +664,7 @@ Handle<Code> StubCompiler::CompileStoreGeneric(Code::Flags flags) {
|
| Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreGeneric");
|
| PROFILE(isolate(),
|
| CodeCreateEvent(Logger::STORE_GENERIC_TAG, *code, 0));
|
| + isolate()->CodeCreateEvent(*code, "args_count: 0");
|
| GDBJIT(AddCode(GDBJITInterface::STORE_IC, *code));
|
| return code;
|
| }
|
| @@ -669,6 +675,7 @@ Handle<Code> StubCompiler::CompileStoreMegamorphic(Code::Flags flags) {
|
| Handle<Code> code = GetCodeWithFlags(flags, "CompileStoreMegamorphic");
|
| PROFILE(isolate(),
|
| CodeCreateEvent(Logger::STORE_MEGAMORPHIC_TAG, *code, 0));
|
| + isolate()->CodeCreateEvent(*code, "args_count: 0");
|
| GDBJIT(AddCode(GDBJITInterface::STORE_IC, *code));
|
| return code;
|
| }
|
| @@ -1201,6 +1208,7 @@ Handle<Code> BaseLoadStoreStubCompiler::GetICCode(Code::Kind kind,
|
| Handle<Code> code = GetCodeWithFlags(flags, name);
|
| IC::RegisterWeakMapDependency(code);
|
| PROFILE(isolate(), CodeCreateEvent(log_kind(code), *code, *name));
|
| + isolate()->CodeCreateEvent(*code, *name);
|
| JitEvent(name, code);
|
| return code;
|
| }
|
| @@ -1213,6 +1221,7 @@ Handle<Code> BaseLoadStoreStubCompiler::GetCode(Code::Kind kind,
|
| Code::Flags flags = Code::ComputeHandlerFlags(kind, type, cache_holder_);
|
| Handle<Code> code = GetCodeWithFlags(flags, name);
|
| PROFILE(isolate(), CodeCreateEvent(log_kind(code), *code, *name));
|
| + isolate()->CodeCreateEvent(*code, *name);
|
| JitEvent(name, code);
|
| return code;
|
| }
|
| @@ -1306,6 +1315,7 @@ Handle<Code> KeyedStoreStubCompiler::CompileStoreElementPolymorphic(
|
| isolate()->counters()->keyed_store_polymorphic_stubs()->Increment();
|
| PROFILE(isolate(),
|
| CodeCreateEvent(Logger::KEYED_STORE_POLYMORPHIC_IC_TAG, *code, 0));
|
| + isolate()->CodeCreateEvent(*code, "args_count: 0");
|
| return code;
|
| }
|
|
|
|
|