Commit ef925a27 authored by jarin's avatar jarin Committed by Commit bot

[turbofan] Reuse the operation typer's logic in the typer.

Review-Url: https://codereview.chromium.org/2084943002
Cr-Commit-Position: refs/heads/master@{#37166}
parent f54fa4d4
This diff is collapsed.
......@@ -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_;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment