Chromium Code Reviews| Index: include/v8.h |
| diff --git a/include/v8.h b/include/v8.h |
| index 9bf96081d5a4a3276bff5aa06892331055269c5b..dfc88fd291e4f533de7505c906031addad71e640 100644 |
| --- a/include/v8.h |
| +++ b/include/v8.h |
| @@ -2665,6 +2665,12 @@ class V8_EXPORT Function : public Object { |
| */ |
| int ScriptId() const; |
| + /** |
| + * Returns the original function if this function is bound, else returns |
| + * v8::Undefined. |
| + */ |
| + Local<Value> GetBoundFunction() const; |
| + |
| ScriptOrigin GetScriptOrigin() const; |
| V8_INLINE static Function* Cast(Value* obj); |
| static const int kLineOffsetNotFound; |