| Index: src/execution.h
|
| diff --git a/src/execution.h b/src/execution.h
|
| index 5c25082a66e21e6baf81c9391d075db09b5b50fc..3822cbb49e7652c0d3e021b696bac97a85ff0c68 100644
|
| --- a/src/execution.h
|
| +++ b/src/execution.h
|
| @@ -35,8 +35,9 @@ class Execution final : public AllStatic {
|
| MUST_USE_RESULT static MaybeHandle<Object> New(Handle<JSFunction> constructor,
|
| int argc,
|
| Handle<Object> argv[]);
|
| - MUST_USE_RESULT static MaybeHandle<Object> New(Handle<JSFunction> constructor,
|
| - Handle<JSFunction> new_target,
|
| + MUST_USE_RESULT static MaybeHandle<Object> New(Isolate* isolate,
|
| + Handle<Object> constructor,
|
| + Handle<Object> new_target,
|
| int argc,
|
| Handle<Object> argv[]);
|
|
|
| @@ -88,20 +89,6 @@ class Execution final : public AllStatic {
|
| Handle<JSFunction> fun,
|
| Handle<Object> pos,
|
| Handle<Object> is_global);
|
| -
|
| - // 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.
|
| - 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);
|
| };
|
|
|
|
|
|
|