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

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: 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
Index: src/compiler/typer.h
diff --git a/src/compiler/typer.h b/src/compiler/typer.h
index 0982b28ade8c562d51646406ffdbc9407daedd07..5cfc8e07377973042cc699bb5cd8def469abf501 100644
--- a/src/compiler/typer.h
+++ b/src/compiler/typer.h
@@ -18,6 +18,7 @@ class TypeCache;
namespace compiler {
+class OperationTyper;
class Typer {
public:
@@ -47,6 +48,7 @@ class Typer {
Flags flags() const { return flags_; }
CompilationDependencies* dependencies() const { return dependencies_; }
FunctionType* function_type() const { return function_type_; }
+ OperationTyper* operation_typer() const { return operation_typer_; }
Isolate* const isolate_;
Graph* const graph_;
@@ -55,6 +57,7 @@ class Typer {
FunctionType* function_type_;
Decorator* decorator_;
TypeCache const& cache_;
+ OperationTyper* operation_typer_;
Type* singleton_false_;
Type* singleton_true_;

Powered by Google App Engine
This is Rietveld 408576698