X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/2d39b0e377c0896910ee49ae70082ba665faf986..HEAD:/inspector/ScriptCallStackFactory.h diff --git a/inspector/ScriptCallStackFactory.h b/inspector/ScriptCallStackFactory.h index 07c1586..b0c0dc0 100644 --- a/inspector/ScriptCallStackFactory.h +++ b/inspector/ScriptCallStackFactory.h @@ -35,6 +35,7 @@ #include namespace JSC { +class Exception; class ExecState; class JSValue; } @@ -45,10 +46,10 @@ class ScriptArguments; class ScriptCallStack; // FIXME: The subtle differences between these should be eliminated. -JS_EXPORT_PRIVATE PassRefPtr createScriptCallStack(JSC::ExecState*, size_t maxStackSize); -JS_EXPORT_PRIVATE PassRefPtr createScriptCallStackForConsole(JSC::ExecState*, size_t maxStackSize); -JS_EXPORT_PRIVATE PassRefPtr createScriptCallStackFromException(JSC::ExecState*, JSC::JSValue& exception, size_t maxStackSize); -JS_EXPORT_PRIVATE PassRefPtr createScriptArguments(JSC::ExecState*, unsigned skipArgumentCount); +JS_EXPORT_PRIVATE Ref createScriptCallStack(JSC::ExecState*, size_t maxStackSize); +JS_EXPORT_PRIVATE Ref createScriptCallStackForConsole(JSC::ExecState*, size_t maxStackSize); +JS_EXPORT_PRIVATE Ref createScriptCallStackFromException(JSC::ExecState*, JSC::Exception*, size_t maxStackSize); +JS_EXPORT_PRIVATE Ref createScriptArguments(JSC::ExecState*, unsigned skipArgumentCount); } // namespace Inspector