diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-05-24 11:40:17 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-05-24 12:42:11 +0000 |
commit | 5d87695f37678f96492b258bbab36486c59866b4 (patch) | |
tree | be9783bbaf04fb930c4d74ca9c00b5e7954c8bc6 /chromium/v8/src/builtins/builtins-proxy-gen.h | |
parent | 6c11fb357ec39bf087b8b632e2b1e375aef1b38b (diff) | |
download | qtwebengine-chromium-5d87695f37678f96492b258bbab36486c59866b4.tar.gz |
BASELINE: Update Chromium to 75.0.3770.56
Change-Id: I86d2007fd27a45d5797eee06f4c9369b8b50ac4f
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/v8/src/builtins/builtins-proxy-gen.h')
-rw-r--r-- | chromium/v8/src/builtins/builtins-proxy-gen.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/chromium/v8/src/builtins/builtins-proxy-gen.h b/chromium/v8/src/builtins/builtins-proxy-gen.h index 95845fca4ef..01479d9999e 100644 --- a/chromium/v8/src/builtins/builtins-proxy-gen.h +++ b/chromium/v8/src/builtins/builtins-proxy-gen.h @@ -7,6 +7,7 @@ #include "src/code-stub-assembler.h" #include "src/objects/js-proxy.h" +#include "torque-generated/builtins-proxy-from-dsl-gen.h" namespace v8 { namespace internal { @@ -27,18 +28,22 @@ class ProxiesCodeStubAssembler : public CodeStubAssembler { Node* ProxySetProperty(Node* context, Node* proxy, Node* name, Node* value, Node* receiver); + Node* AllocateProxy(Node* target, Node* handler, Node* context); + Node* AllocateProxyRevokeFunction(Node* proxy, Node* context); + + // Get JSNewTarget parameter for ProxyConstructor builtin (Torque). + // TODO(v8:9120): Remove this once torque support exists + Node* GetProxyConstructorJSNewTarget(); + protected: enum ProxyRevokeFunctionContextSlot { kProxySlot = Context::MIN_CONTEXT_SLOTS, kProxyContextLength, }; - void GotoIfRevokedProxy(Node* object, Label* if_proxy_revoked); - Node* AllocateProxy(Node* target, Node* handler, Node* context); Node* AllocateJSArrayForCodeStubArguments(Node* context, CodeStubArguments& args, Node* argc, ParameterMode mode); - Node* AllocateProxyRevokeFunction(Node* proxy, Node* context); void CheckHasTrapResult(Node* context, Node* target, Node* proxy, Node* name, Label* check_passed, Label* if_bailout); |