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

Unified Diff: src/compiler/js-type-feedback.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-intrinsic-lowering.cc ('k') | src/compiler/js-type-feedback-lowering.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/js-type-feedback.h
diff --git a/src/compiler/js-type-feedback.h b/src/compiler/js-type-feedback.h
index 49b46d2858bed3a8c6c70826fa23c4d69e7ba764..a5d6bee8a96aa350171ed4808f0392211d381130 100644
--- a/src/compiler/js-type-feedback.h
+++ b/src/compiler/js-type-feedback.h
@@ -10,7 +10,6 @@
#include "src/compiler/graph-reducer.h"
#include "src/compiler/js-graph.h"
#include "src/compiler/node-aux-data.h"
-#include "src/compiler/simplified-operator.h"
namespace v8 {
namespace internal {
@@ -70,7 +69,6 @@ class JSTypeFeedbackSpecializer : public AdvancedReducer {
CompilationDependencies* dependencies)
: AdvancedReducer(editor),
jsgraph_(jsgraph),
- simplified_(jsgraph->graph()->zone()),
js_type_feedback_(js_type_feedback),
oracle_(oracle),
global_object_(global_object),
@@ -90,7 +88,6 @@ class JSTypeFeedbackSpecializer : public AdvancedReducer {
private:
JSGraph* jsgraph_;
- SimplifiedOperatorBuilder simplified_;
JSTypeFeedbackTable* js_type_feedback_;
TypeFeedbackOracle* oracle_;
Handle<GlobalObject> global_object_;
@@ -101,8 +98,8 @@ class JSTypeFeedbackSpecializer : public AdvancedReducer {
Graph* graph() { return jsgraph_->graph(); }
JSGraph* jsgraph() { return jsgraph_; }
CommonOperatorBuilder* common() { return jsgraph_->common(); }
+ SimplifiedOperatorBuilder* simplified() { return jsgraph_->simplified(); }
DeoptimizationMode mode() const { return mode_; }
- SimplifiedOperatorBuilder* simplified() { return &simplified_; }
void BuildMapCheck(Node* receiver, Handle<Map> map, bool smi_check,
Node* effect, Node* control, Node** success, Node** fail);
« no previous file with comments | « src/compiler/js-intrinsic-lowering.cc ('k') | src/compiler/js-type-feedback-lowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698