diff options
Diffstat (limited to 'deps/v8/src/runtime.h')
-rw-r--r-- | deps/v8/src/runtime.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/deps/v8/src/runtime.h b/deps/v8/src/runtime.h index 0900fd3606..e59c82cd64 100644 --- a/deps/v8/src/runtime.h +++ b/deps/v8/src/runtime.h @@ -349,7 +349,10 @@ namespace internal { F(HasExternalIntElements, 1, 1) \ F(HasExternalUnsignedIntElements, 1, 1) \ F(HasExternalFloatElements, 1, 1) \ - F(HasExternalDoubleElements, 1, 1) + F(HasExternalDoubleElements, 1, 1) \ + /* profiler */ \ + F(ProfilerResume, 0, 1) \ + F(ProfilerPause, 0, 1) #ifdef ENABLE_DEBUGGER_SUPPORT @@ -427,14 +430,6 @@ namespace internal { #define RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) #endif -#ifdef ENABLE_LOGGING_AND_PROFILING -#define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) \ - F(ProfilerResume, 0, 1) \ - F(ProfilerPause, 0, 1) -#else -#define RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) -#endif - #ifdef DEBUG #define RUNTIME_FUNCTION_LIST_DEBUG(F) \ /* Testing */ \ @@ -452,8 +447,7 @@ namespace internal { RUNTIME_FUNCTION_LIST_ALWAYS_1(F) \ RUNTIME_FUNCTION_LIST_ALWAYS_2(F) \ RUNTIME_FUNCTION_LIST_DEBUG(F) \ - RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) \ - RUNTIME_FUNCTION_LIST_PROFILER_SUPPORT(F) + RUNTIME_FUNCTION_LIST_DEBUGGER_SUPPORT(F) // ---------------------------------------------------------------------------- // INLINE_FUNCTION_LIST defines all inlined functions accessed |