summaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/js-create-lowering.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/js-create-lowering.h')
-rw-r--r--deps/v8/src/compiler/js-create-lowering.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/v8/src/compiler/js-create-lowering.h b/deps/v8/src/compiler/js-create-lowering.h
index 2262e66ef2..6248ca2982 100644
--- a/deps/v8/src/compiler/js-create-lowering.h
+++ b/deps/v8/src/compiler/js-create-lowering.h
@@ -31,11 +31,12 @@ class JSCreateLowering final : public AdvancedReducer {
public:
JSCreateLowering(Editor* editor, CompilationDependencies* dependencies,
JSGraph* jsgraph, MaybeHandle<LiteralsArray> literals_array,
- Zone* zone)
+ MaybeHandle<Context> native_context, Zone* zone)
: AdvancedReducer(editor),
dependencies_(dependencies),
jsgraph_(jsgraph),
literals_array_(literals_array),
+ native_context_(native_context),
zone_(zone) {}
~JSCreateLowering() final {}
@@ -76,6 +77,8 @@ class JSCreateLowering final : public AdvancedReducer {
// Infers the LiteralsArray to use for a given {node}.
MaybeHandle<LiteralsArray> GetSpecializationLiterals(Node* node);
+ // Infers the native context to use for a given {node}.
+ MaybeHandle<Context> GetSpecializationNativeContext(Node* node);
Factory* factory() const;
Graph* graph() const;
@@ -91,6 +94,7 @@ class JSCreateLowering final : public AdvancedReducer {
CompilationDependencies* const dependencies_;
JSGraph* const jsgraph_;
MaybeHandle<LiteralsArray> const literals_array_;
+ MaybeHandle<Context> const native_context_;
Zone* const zone_;
};