Index: src/builtins/builtins-promise.h |
diff --git a/src/builtins/builtins-promise.h b/src/builtins/builtins-promise.h |
index 00d57c73b1d68e90a2000bbc94647523a031de37..ce896a4f303225170a3288ef5406a9f59c6797d2 100644 |
--- a/src/builtins/builtins-promise.h |
+++ b/src/builtins/builtins-promise.h |
@@ -81,6 +81,10 @@ class PromiseBuiltinsAssembler : public CodeStubAssembler { |
Node* NewPromiseCapability(Node* context, Node* constructor, |
Node* debug_event = nullptr); |
+ void BranchIfAccessCheckFailed(Node* context, Node* native_context, |
+ Node* promise_constructor, Node* executor, |
+ Label* if_noaccess); |
+ |
protected: |
void PromiseInit(Node* promise); |