Index: src/compiler/js-call-reducer.h |
diff --git a/src/compiler/js-call-reducer.h b/src/compiler/js-call-reducer.h |
index 10b8ee89929d4d030e55cccabb9cfc5e499db142..89197bc6201d50f032b8d59280a657343a5fb18e 100644 |
--- a/src/compiler/js-call-reducer.h |
+++ b/src/compiler/js-call-reducer.h |
@@ -27,19 +27,11 @@ class SimplifiedOperatorBuilder; |
// which might allow inlining or other optimizations to be performed afterwards. |
class JSCallReducer final : public AdvancedReducer { |
public: |
- // Flags that control the mode of operation. |
- enum Flag { |
- kNoFlags = 0u, |
- kDeoptimizationEnabled = 1u << 0, |
- }; |
- typedef base::Flags<Flag> Flags; |
- |
- JSCallReducer(Editor* editor, JSGraph* jsgraph, Flags flags, |
+ JSCallReducer(Editor* editor, JSGraph* jsgraph, |
Handle<Context> native_context, |
CompilationDependencies* dependencies) |
: AdvancedReducer(editor), |
jsgraph_(jsgraph), |
- flags_(flags), |
native_context_(native_context), |
dependencies_(dependencies) {} |
@@ -68,7 +60,6 @@ class JSCallReducer final : public AdvancedReducer { |
Handle<JSObject>* holder); |
Graph* graph() const; |
- Flags flags() const { return flags_; } |
JSGraph* jsgraph() const { return jsgraph_; } |
Isolate* isolate() const; |
Factory* factory() const; |
@@ -79,13 +70,10 @@ class JSCallReducer final : public AdvancedReducer { |
CompilationDependencies* dependencies() const { return dependencies_; } |
JSGraph* const jsgraph_; |
- Flags const flags_; |
Handle<Context> const native_context_; |
CompilationDependencies* const dependencies_; |
}; |
-DEFINE_OPERATORS_FOR_FLAGS(JSCallReducer::Flags) |
- |
} // namespace compiler |
} // namespace internal |
} // namespace v8 |