| Index: src/compiler/node-properties.h
|
| diff --git a/src/compiler/node-properties.h b/src/compiler/node-properties.h
|
| index 9534ef3c3bfd5e629e6a1d2ff364432aa119c7ab..8019019cba1865fa78f6ca48b59d56b025722f72 100644
|
| --- a/src/compiler/node-properties.h
|
| +++ b/src/compiler/node-properties.h
|
| @@ -116,6 +116,27 @@ class NodeProperties final {
|
| static void CollectControlProjections(Node* node, Node** proj, size_t count);
|
|
|
| // ---------------------------------------------------------------------------
|
| + // 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>());
|
| +
|
| + // Try to retrieve the specialization native context from the given
|
| + // {node}, optionally utilizing the knowledge about the (outermost)
|
| + // {native_context}.
|
| + static MaybeHandle<Context> GetSpecializationNativeContext(
|
| + Node* node, MaybeHandle<Context> native_context = MaybeHandle<Context>());
|
| +
|
| + // Try to retrieve the specialization global object from the given
|
| + // {node}, optionally utilizing the knowledge about the (outermost)
|
| + // {native_context}.
|
| + static MaybeHandle<JSGlobalObject> GetSpecializationGlobalObject(
|
| + Node* node, MaybeHandle<Context> native_context = MaybeHandle<Context>());
|
| +
|
| + // ---------------------------------------------------------------------------
|
| // Type.
|
|
|
| static bool IsTyped(Node* node) { return node->type() != nullptr; }
|
|
|