diff options
Diffstat (limited to 'deps/v8/src/compiler/node-properties.h')
-rw-r--r-- | deps/v8/src/compiler/node-properties.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/deps/v8/src/compiler/node-properties.h b/deps/v8/src/compiler/node-properties.h index aa35ea84e0..02ab2ce044 100644 --- a/deps/v8/src/compiler/node-properties.h +++ b/deps/v8/src/compiler/node-properties.h @@ -79,6 +79,10 @@ class V8_EXPORT_PRIVATE NodeProperties final { // the present IfException projection is returned via {out_exception}. static bool IsExceptionalCall(Node* node, Node** out_exception = nullptr); + // Returns the node producing the successful control output of {node}. This is + // the IfSuccess projection of {node} if present and {node} itself otherwise. + static Node* FindSuccessfulControlProjection(Node* node); + // --------------------------------------------------------------------------- // Miscellaneous mutators. @@ -142,12 +146,6 @@ class V8_EXPORT_PRIVATE NodeProperties final { // --------------------------------------------------------------------------- // Context. - // Try to retrieve the specialization context from the given {node}, - // optionally utilizing the knowledge about the (outermost) function - // {context}. - static MaybeHandle<Context> GetSpecializationContext( - Node* node, MaybeHandle<Context> context = MaybeHandle<Context>()); - // Walk up the context chain from the given {node} until we reduce the {depth} // to 0 or hit a node that does not extend the context chain ({depth} will be // updated accordingly). |