| Index: src/log.h
|
| diff --git a/src/log.h b/src/log.h
|
| index 961b100e6691d4ac8add7ae318ebcdf57061d03a..846ab67ded081c2ba4e565c7c919b3d5a5612383 100644
|
| --- a/src/log.h
|
| +++ b/src/log.h
|
| @@ -148,6 +148,11 @@ class Logger {
|
| enum LogEventsAndTags {
|
| LOG_EVENTS_AND_TAGS_LIST(DECLARE_ENUM)
|
| NUMBER_OF_LOG_EVENTS
|
| +#ifdef ENABLE_CPP_PROFILES_PROCESSOR
|
| + , NATIVE_FUNCTION_TAG
|
| + , NATIVE_LAZY_COMPILE_TAG
|
| + , NATIVE_SCRIPT_TAG
|
| +#endif
|
| };
|
| #undef DECLARE_ENUM
|
|
|
| @@ -287,6 +292,9 @@ class Logger {
|
| // Used for logging stubs found in the snapshot.
|
| static void LogCodeObjects();
|
|
|
| + // Converts tag to a corresponding NATIVE_... if the script is native.
|
| + INLINE(static LogEventsAndTags ToNativeByScript(LogEventsAndTags, Script*));
|
| +
|
| private:
|
|
|
| // Profiler's sampling interval (in milliseconds).
|
|
|