X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/ba379fdc102753d6be2c4d937058fe40257329fe..4e4e5a6f2694187498445a6ac6f1634ce8141119:/profiler/Profiler.h diff --git a/profiler/Profiler.h b/profiler/Profiler.h index b37f613..4b8b4a0 100644 --- a/profiler/Profiler.h +++ b/profiler/Profiler.h @@ -36,15 +36,15 @@ namespace JSC { - class CallIdentifier; class ExecState; class JSGlobalData; class JSObject; class JSValue; class ProfileGenerator; class UString; + struct CallIdentifier; - class Profiler { + class Profiler : public FastAllocBase { public: static Profiler** enabledProfilerReference() { @@ -52,7 +52,7 @@ namespace JSC { } static Profiler* profiler(); - static CallIdentifier createCallIdentifier(JSGlobalData*, JSValue, const UString& sourceURL, int lineNumber); + static CallIdentifier createCallIdentifier(ExecState* exec, JSValue, const UString& sourceURL, int lineNumber); void startProfiling(ExecState*, const UString& title); PassRefPtr stopProfiling(ExecState*, const UString& title);