Index: src/execution.h |
diff --git a/src/execution.h b/src/execution.h |
index d4b80d274e24d34b96f1c9cee1caa9bc66b6da8a..e89d6ba3971cbae35118c1b4c4dd4ea9b2ba1660 100644 |
--- a/src/execution.h |
+++ b/src/execution.h |
@@ -138,6 +138,8 @@ class Execution : public AllStatic { |
// Get a function delegate (or undefined) for the given non-function |
// object. Used for support calling objects as functions. |
static Handle<Object> GetFunctionDelegate(Handle<Object> object); |
+ static Handle<Object> TryGetFunctionDelegate(Handle<Object> object, |
+ bool* has_pending_exception); |
// Get a function delegate (or undefined) for the given non-function |
// object. Used for support calling objects as constructors. |