Index: src/execution.h |
diff --git a/src/execution.h b/src/execution.h |
index d7996d1904b3098d3727d230275535f43fb9b354..75f7a8ebc9bc8331b32175f9fb6aff3a7e874b13 100644 |
--- a/src/execution.h |
+++ b/src/execution.h |
@@ -92,25 +92,23 @@ class Execution final : public AllStatic { |
MUST_USE_RESULT static MaybeHandle<JSRegExp> NewJSRegExp( |
Handle<String> pattern, Handle<String> flags); |
- static Handle<Object> GetFunctionFor(); |
static Handle<String> GetStackTraceLine(Handle<Object> recv, |
Handle<JSFunction> fun, |
Handle<Object> pos, |
Handle<Object> is_global); |
- // Get a function delegate (or undefined) for the given non-function |
- // object. Used for support calling objects as functions. |
- static Handle<Object> GetFunctionDelegate(Isolate* isolate, |
- Handle<Object> object); |
- MUST_USE_RESULT static MaybeHandle<Object> TryGetFunctionDelegate( |
- Isolate* isolate, |
- Handle<Object> object); |
+ // Get a function delegate for the given non-function object. |
+ // Used for support calling objects as functions. |
+ MUST_USE_RESULT static MaybeHandle<JSFunction> GetFunctionDelegate( |
+ Isolate* isolate, Handle<Object> object); |
// Get a function delegate (or undefined) for the given non-function |
// object. Used for support calling objects as constructors. |
- static Handle<Object> GetConstructorDelegate(Isolate* isolate, |
- Handle<Object> object); |
- static MaybeHandle<Object> TryGetConstructorDelegate(Isolate* isolate, |
+ MUST_USE_RESULT static MaybeHandle<JSFunction> GetConstructorDelegate( |
+ Isolate* isolate, Handle<Object> object); |
+ |
+ private: |
+ MUST_USE_RESULT static Handle<String> RenderCallSite(Isolate* isolate, |
Handle<Object> object); |
}; |