Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(927)

Unified Diff: src/compiler/typer.h

Issue 2196653002: [turbofan] Introduce a dedicated CheckMaps simplified operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@TurboFan_JSNativeContextSpecialization_NonElementKeyedAccess
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698