| Index: src/factory.h
|
| diff --git a/src/factory.h b/src/factory.h
|
| index 80916b8a20d075c443864785d98257f2e07523ce..7f0d2ea4e4028aff660aaca058ccdb88ba132837 100644
|
| --- a/src/factory.h
|
| +++ b/src/factory.h
|
| @@ -476,10 +476,13 @@ class Factory final {
|
| Handle<Object> done);
|
|
|
| // Allocates a Harmony proxy.
|
| - Handle<JSProxy> NewJSProxy(Handle<Object> handler, Handle<Object> prototype);
|
| + Handle<JSProxy> NewJSProxy(Handle<JSReceiver> target,
|
| + Handle<JSReceiver> handler,
|
| + Handle<Object> prototype);
|
|
|
| // Allocates a Harmony function proxy.
|
| - Handle<JSProxy> NewJSFunctionProxy(Handle<Object> handler,
|
| + Handle<JSProxy> NewJSFunctionProxy(Handle<JSReceiver> target,
|
| + Handle<JSReceiver> handler,
|
| Handle<JSReceiver> call_trap,
|
| Handle<Object> construct_trap,
|
| Handle<Object> prototype);
|
| @@ -493,10 +496,6 @@ class Factory final {
|
|
|
| Handle<JSGlobalProxy> NewUninitializedJSGlobalProxy();
|
|
|
| - // Change the type of the argument into a JS object/function and reinitialize.
|
| - void BecomeJSObject(Handle<JSProxy> object);
|
| - void BecomeJSFunction(Handle<JSProxy> object);
|
| -
|
| Handle<JSFunction> NewFunction(Handle<String> name, Handle<Code> code,
|
| Handle<Object> prototype,
|
| bool read_only_prototype = false,
|
| @@ -713,12 +712,6 @@ class Factory final {
|
| Handle<JSFunction> NewFunction(Handle<Map> map,
|
| Handle<String> name,
|
| MaybeHandle<Code> maybe_code);
|
| -
|
| - // Reinitialize a JSProxy into an (empty) JS object of respective type and
|
| - // size, but keeping the original prototype. The receiver must have at least
|
| - // the size of the new object. The object is reinitialized and behaves as an
|
| - // object that has been freshly allocated.
|
| - void ReinitializeJSProxy(Handle<JSProxy> proxy, InstanceType type, int size);
|
| };
|
|
|
| } // namespace internal
|
|
|