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

Unified Diff: src/compiler/typer.h

Issue 1221683006: [turbofan] Remove unused constructor function matching from typer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 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 | « src/compiler/pipeline.cc ('k') | 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 5c59b5610bf8ab2bcb795873942067a2c6a659ed..f5ef4f15535821c5ab5a43a323b35050651e78cc 100644
--- a/src/compiler/typer.h
+++ b/src/compiler/typer.h
@@ -18,8 +18,8 @@ class TyperCache;
class Typer {
public:
- Typer(Isolate* isolate, Graph* graph, Type::FunctionType* function_type,
- MaybeHandle<Context> context);
+ Typer(Isolate* isolate, Graph* graph,
+ Type::FunctionType* function_type = nullptr);
~Typer();
void Run();
@@ -31,7 +31,6 @@ class Typer {
class Decorator;
Graph* graph() const { return graph_; }
- MaybeHandle<Context> context() const { return context_; }
Zone* zone() const { return graph()->zone(); }
Isolate* isolate() const { return isolate_; }
Type::FunctionType* function_type() const { return function_type_; }
@@ -39,7 +38,6 @@ class Typer {
Isolate* const isolate_;
Graph* const graph_;
Type::FunctionType* function_type_;
- MaybeHandle<Context> const context_;
Decorator* decorator_;
TyperCache const& cache_;
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698