Index: src/compiler/js-create-lowering.h |
diff --git a/src/compiler/js-create-lowering.h b/src/compiler/js-create-lowering.h |
index 6248ca29822085c0133900c8f460cb74803d5ac0..7861046f8506f44cef212249765ec7ce07f33788 100644 |
--- a/src/compiler/js-create-lowering.h |
+++ b/src/compiler/js-create-lowering.h |
@@ -31,7 +31,7 @@ class JSCreateLowering final : public AdvancedReducer { |
public: |
JSCreateLowering(Editor* editor, CompilationDependencies* dependencies, |
JSGraph* jsgraph, MaybeHandle<LiteralsArray> literals_array, |
- MaybeHandle<Context> native_context, Zone* zone) |
+ Handle<Context> native_context, Zone* zone) |
: AdvancedReducer(editor), |
dependencies_(dependencies), |
jsgraph_(jsgraph), |
@@ -77,13 +77,12 @@ 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; |
JSGraph* jsgraph() const { return jsgraph_; } |
Isolate* isolate() const; |
+ Handle<Context> native_context() const { return native_context_; } |
JSOperatorBuilder* javascript() const; |
CommonOperatorBuilder* common() const; |
SimplifiedOperatorBuilder* simplified() const; |
@@ -94,7 +93,7 @@ class JSCreateLowering final : public AdvancedReducer { |
CompilationDependencies* const dependencies_; |
JSGraph* const jsgraph_; |
MaybeHandle<LiteralsArray> const literals_array_; |
- MaybeHandle<Context> const native_context_; |
+ Handle<Context> const native_context_; |
Zone* const zone_; |
}; |