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

Unified Diff: src/compiler/typer.h

Issue 2084943002: [turbofan] Reuse the operation typer's logic in the typer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tweak + rebase Created 4 years, 6 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
« no previous file with comments | « no previous file | src/compiler/typer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/typer.h
diff --git a/src/compiler/typer.h b/src/compiler/typer.h
index 0982b28ade8c562d51646406ffdbc9407daedd07..b6c5cb333cae56d50776baeadc6e8c1368e574c2 100644
--- a/src/compiler/typer.h
+++ b/src/compiler/typer.h
@@ -7,6 +7,7 @@
#include "src/base/flags.h"
#include "src/compiler/graph.h"
+#include "src/compiler/operation-typer.h"
#include "src/types.h"
namespace v8 {
@@ -18,6 +19,7 @@ class TypeCache;
namespace compiler {
+class OperationTyper;
class Typer {
public:
@@ -47,6 +49,7 @@ class Typer {
Flags flags() const { return flags_; }
CompilationDependencies* dependencies() const { return dependencies_; }
FunctionType* function_type() const { return function_type_; }
+ OperationTyper* operation_typer() { return &operation_typer_; }
Isolate* const isolate_;
Graph* const graph_;
@@ -55,6 +58,7 @@ class Typer {
FunctionType* function_type_;
Decorator* decorator_;
TypeCache const& cache_;
+ OperationTyper operation_typer_;
Type* singleton_false_;
Type* singleton_true_;
« no previous file with comments | « no previous file | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698