Index: src/full-codegen/full-codegen.cc |
diff --git a/src/full-codegen/full-codegen.cc b/src/full-codegen/full-codegen.cc |
index dc6b79a6f56e36c6d2066a998c1a11af00ebddc9..e0851b5dca66faa4553020e5d5ed53a910ed9cd4 100644 |
--- a/src/full-codegen/full-codegen.cc |
+++ b/src/full-codegen/full-codegen.cc |
@@ -17,6 +17,7 @@ |
#include "src/isolate-inl.h" |
#include "src/macro-assembler.h" |
#include "src/snapshot/snapshot.h" |
+#include "src/tracing/trace-event.h" |
namespace v8 { |
namespace internal { |
@@ -27,6 +28,7 @@ bool FullCodeGenerator::MakeCode(CompilationInfo* info) { |
Isolate* isolate = info->isolate(); |
TimerEventScope<TimerEventCompileFullCode> timer(info->isolate()); |
+ TRACE_EVENT0("v8", "V8.CompileFullCode"); |
// Ensure that the feedback vector is large enough. |
info->EnsureFeedbackVector(); |