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

Unified Diff: runtime/vm/intermediate_language.h

Issue 11773040: Canonicalize away simple arithmetic equivalences. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 | « no previous file | runtime/vm/intermediate_language.cc » ('j') | runtime/vm/intermediate_language.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
diff --git a/runtime/vm/intermediate_language.h b/runtime/vm/intermediate_language.h
index b8ac5a3f0dce352d193dc6eba9c9dc24820abbb6..ec6a7b579695377e322574b6eb2e57522234c6ac 100644
--- a/runtime/vm/intermediate_language.h
+++ b/runtime/vm/intermediate_language.h
@@ -3624,6 +3624,8 @@ class BinaryDoubleOpInstr : public TemplateDefinition<2> {
DECLARE_INSTRUCTION(BinaryDoubleOp)
virtual RawAbstractType* CompileType() const;
+ virtual Definition* Canonicalize(FlowGraphOptimizer* optimizer);
+
private:
const Token::Kind op_kind_;
@@ -3853,6 +3855,8 @@ class BinarySmiOpInstr : public TemplateDefinition<2> {
virtual void InferRange();
+ virtual Definition* Canonicalize(FlowGraphOptimizer* optimizer);
+
private:
const Token::Kind op_kind_;
InstanceCallInstr* instance_call_;
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.cc » ('j') | runtime/vm/intermediate_language.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698