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