| Index: src/compiler/typer.h
|
| diff --git a/src/compiler/typer.h b/src/compiler/typer.h
|
| index ccd8c4d836c8aa6a536f13607e652480df8c2b67..8511a380b1633349700470c0c468d3b2a9c7cbbf 100644
|
| --- a/src/compiler/typer.h
|
| +++ b/src/compiler/typer.h
|
| @@ -5,7 +5,6 @@
|
| #ifndef V8_COMPILER_TYPER_H_
|
| #define V8_COMPILER_TYPER_H_
|
|
|
| -#include "src/base/flags.h"
|
| #include "src/compiler/graph.h"
|
| #include "src/compiler/operation-typer.h"
|
| #include "src/types.h"
|
| @@ -14,7 +13,6 @@ namespace v8 {
|
| namespace internal {
|
|
|
| // Forward declarations.
|
| -class CompilationDependencies;
|
| class TypeCache;
|
|
|
| namespace compiler {
|
| @@ -24,15 +22,7 @@ class OperationTyper;
|
|
|
| class Typer {
|
| public:
|
| - // Flags that control the mode of operation.
|
| - enum Flag {
|
| - kNoFlags = 0u,
|
| - kDeoptimizationEnabled = 1u << 0,
|
| - };
|
| - typedef base::Flags<Flag> Flags;
|
| -
|
| - Typer(Isolate* isolate, Graph* graph, Flags flags = kNoFlags,
|
| - CompilationDependencies* dependencies = nullptr);
|
| + Typer(Isolate* isolate, Graph* graph);
|
| ~Typer();
|
|
|
| void Run();
|
| @@ -47,14 +37,10 @@ class Typer {
|
| Graph* graph() const { return graph_; }
|
| Zone* zone() const { return graph()->zone(); }
|
| Isolate* isolate() const { return isolate_; }
|
| - Flags flags() const { return flags_; }
|
| - CompilationDependencies* dependencies() const { return dependencies_; }
|
| OperationTyper* operation_typer() { return &operation_typer_; }
|
|
|
| Isolate* const isolate_;
|
| Graph* const graph_;
|
| - Flags const flags_;
|
| - CompilationDependencies* const dependencies_;
|
| Decorator* decorator_;
|
| TypeCache const& cache_;
|
| OperationTyper operation_typer_;
|
| @@ -70,8 +56,6 @@ class Typer {
|
| DISALLOW_COPY_AND_ASSIGN(Typer);
|
| };
|
|
|
| -DEFINE_OPERATORS_FOR_FLAGS(Typer::Flags)
|
| -
|
| } // namespace compiler
|
| } // namespace internal
|
| } // namespace v8
|
|
|