Index: src/log-inl.h |
diff --git a/src/log-inl.h b/src/log-inl.h |
index b9865976bf860840920865070a5325aa1d54d926..0eb18e0525d672d4e9e8c1e38cbc7cfadb4cb20b 100644 |
--- a/src/log-inl.h |
+++ b/src/log-inl.h |
@@ -39,6 +39,12 @@ void Logger::CallEventLogger(Isolate* isolate, const char* name, StartEnd se, |
} |
} |
+template <class TimerEvent> |
+void TimerEventScope<TimerEvent>::LogTimerEvent(Logger::StartEnd se) { |
+ Logger::CallEventLogger(isolate_, TimerEvent::name(), se, |
+ TimerEvent::expose_to_api()); |
+} |
+ |
} // namespace internal |
} // namespace v8 |