Index: src/compiler/js-create-lowering.h |
diff --git a/src/compiler/js-create-lowering.h b/src/compiler/js-create-lowering.h |
index 2262e66ef27e397b9f164d8cec8c6f1a321ce37f..6248ca29822085c0133900c8f460cb74803d5ac0 100644 |
--- a/src/compiler/js-create-lowering.h |
+++ b/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_; |
}; |