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

Unified Diff: src/compiler/common-operator-reducer.h

Issue 1066393002: [turbofan] Add new Float32Abs and Float64Abs operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix comment. Created 5 years, 8 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/arm64/instruction-selector-arm64.cc ('k') | src/compiler/common-operator-reducer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/common-operator-reducer.h
diff --git a/src/compiler/common-operator-reducer.h b/src/compiler/common-operator-reducer.h
index dfcbe295bc47ed9c0fb5361bb2bfdc9574f2bd5a..2a814a0bc767eea4290dd27a5f0c9cccf62d13dc 100644
--- a/src/compiler/common-operator-reducer.h
+++ b/src/compiler/common-operator-reducer.h
@@ -16,6 +16,7 @@ class CommonOperatorBuilder;
class Graph;
class JSGraph;
class MachineOperatorBuilder;
+class Operator;
// Performs strength reduction on nodes that have common operators.
@@ -31,6 +32,9 @@ class CommonOperatorReducer FINAL : public Reducer {
Reduction ReducePhi(Node* node);
Reduction ReduceSelect(Node* node);
+ Reduction Change(Node* node, Operator const* op, Node* a);
+ Reduction Change(Node* node, Operator const* op, Node* a, Node* b);
+
CommonOperatorBuilder* common() const;
Graph* graph() const;
JSGraph* jsgraph() const { return jsgraph_; }
« no previous file with comments | « src/compiler/arm64/instruction-selector-arm64.cc ('k') | src/compiler/common-operator-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698