| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 3adefbcb0d7e0ddceb812ae8bf16d251cbb4823f..943c77bec193b82c0a09ecd00b4466ae73131c52 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -1361,7 +1361,15 @@ class V8EXPORT Function : public Object {
|
| Local<Value> Call(Handle<Object> recv, int argc, Handle<Value> argv[]);
|
| void SetName(Handle<String> name);
|
| Handle<Value> GetName() const;
|
| +
|
| + /**
|
| + * Returns zero based line number of function body and
|
| + * kLineOffsetNotFound if no information available.
|
| + */
|
| + int GetScriptLineNumber() const;
|
| + ScriptOrigin GetScriptOrigin() const;
|
| static inline Function* Cast(Value* obj);
|
| + static const int kLineOffsetNotFound;
|
| private:
|
| Function();
|
| static void CheckCast(Value* obj);
|
|
|