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

Unified Diff: src/compiler/js-typed-lowering.h

Issue 1410003002: [turbofan] Remove locally constructed simplified builders. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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/js-type-feedback-lowering.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-typed-lowering.h
diff --git a/src/compiler/js-typed-lowering.h b/src/compiler/js-typed-lowering.h
index dd6470c7379b0ca68f7d5c872353206c4cc3f2bc..64e599e2bc84e4b88bf979becb22e5381b50a92f 100644
--- a/src/compiler/js-typed-lowering.h
+++ b/src/compiler/js-typed-lowering.h
@@ -7,7 +7,6 @@
#include "src/compiler/graph-reducer.h"
#include "src/compiler/opcodes.h"
-#include "src/compiler/simplified-operator.h"
namespace v8 {
namespace internal {
@@ -23,6 +22,7 @@ class CommonOperatorBuilder;
class JSGraph;
class JSOperatorBuilder;
class MachineOperatorBuilder;
+class SimplifiedOperatorBuilder;
// Lowers JS-level operators to simplified operators based on types.
@@ -81,7 +81,7 @@ class JSTypedLowering final : public AdvancedReducer {
Isolate* isolate() const;
JSOperatorBuilder* javascript() const;
CommonOperatorBuilder* common() const;
- SimplifiedOperatorBuilder* simplified() { return &simplified_; }
+ SimplifiedOperatorBuilder* simplified() const;
MachineOperatorBuilder* machine() const;
// Limits up to which context allocations are inlined.
@@ -89,7 +89,6 @@ class JSTypedLowering final : public AdvancedReducer {
static const int kBlockContextAllocationLimit = 16;
JSGraph* jsgraph_;
- SimplifiedOperatorBuilder simplified_;
Type* shifted_int32_ranges_[4];
};
« no previous file with comments | « src/compiler/js-type-feedback-lowering.cc ('k') | src/compiler/js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698