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

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 invalid register constraints on x64/ia32. 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
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_; }

Powered by Google App Engine
This is Rietveld 408576698