summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/JSGlobalData.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSGlobalData.h')
-rw-r--r--Source/JavaScriptCore/runtime/JSGlobalData.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/runtime/JSGlobalData.h b/Source/JavaScriptCore/runtime/JSGlobalData.h
index c39a01920..f8833104a 100644
--- a/Source/JavaScriptCore/runtime/JSGlobalData.h
+++ b/Source/JavaScriptCore/runtime/JSGlobalData.h
@@ -70,6 +70,7 @@ namespace JSC {
class LLIntOffsetsExtractor;
class NativeExecutable;
class ParserArena;
+ class Profiler;
class RegExpCache;
class Stringifier;
class Structure;
@@ -255,6 +256,11 @@ namespace JSC {
return m_inDefineOwnProperty;
}
+ Profiler* enabledProfiler()
+ {
+ return m_enabledProfiler;
+ }
+
#if ENABLE(ASSEMBLER)
ExecutableAllocator executableAllocator;
#endif
@@ -346,6 +352,7 @@ namespace JSC {
int maxReentryDepth;
+ Profiler* m_enabledProfiler;
RegExpCache* m_regExpCache;
BumpPointerAllocator m_regExpAllocator;