summaryrefslogtreecommitdiffstats
path: root/WebCore/bindings/v8/ScriptCallStack.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/bindings/v8/ScriptCallStack.h')
-rw-r--r--WebCore/bindings/v8/ScriptCallStack.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/WebCore/bindings/v8/ScriptCallStack.h b/WebCore/bindings/v8/ScriptCallStack.h
index 8ac394c..2433bde 100644
--- a/WebCore/bindings/v8/ScriptCallStack.h
+++ b/WebCore/bindings/v8/ScriptCallStack.h
@@ -47,6 +47,8 @@ namespace WebCore {
static ScriptCallStack* create(const v8::Arguments&, unsigned skipArgumentCount = 0);
~ScriptCallStack();
+ static bool callLocation(String* sourceName, int* sourceLineNumber, String* functionName);
+
const ScriptCallFrame& at(unsigned) const;
// FIXME: implement retrieving and storing call stack trace
unsigned size() const { return 1; }
@@ -55,7 +57,7 @@ namespace WebCore {
ScriptState* globalState() const { return m_scriptState; }
private:
- ScriptCallStack(const v8::Arguments& arguments, unsigned skipArgumentCount, String sourceName, int sourceLineNumber);
+ ScriptCallStack(const v8::Arguments& arguments, unsigned skipArgumentCount, String sourceName, int sourceLineNumber, String funcName);
ScriptCallFrame m_lastCaller;
ScriptState* m_scriptState;