Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index 4dbe5983e1f9e74f7af70c49ebdbaa05ec988722..f3f8dbd086d3288d5e51214f8cdc8a3880367203 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -719,6 +719,10 @@ |
CodeCreateEvent(log_tag, *code, *shared, info, script_name, |
line_num, column_num)); |
} |
+ |
+ GDBJIT(AddCode(Handle<String>(shared->DebugName()), |
+ Handle<Script>(info->script()), Handle<Code>(info->code()), |
+ info)); |
} |
@@ -1179,6 +1183,7 @@ |
PROFILE(isolate, CodeCreateEvent( |
log_tag, *info->code(), *result, info, *script_name)); |
+ GDBJIT(AddCode(script_name, script, info->code(), info)); |
// Hint to the runtime system used when allocating space for initial |
// property space by setting the expected number of properties for |