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

Unified Diff: runtime/vm/intermediate_language.h

Issue 23144003: Fold Box(Unbox(v)) and Unbox(Box(v)) for Float32x4 and Uint32x4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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') | no next file with comments »
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 f624d0e1384e916f4792ab7d87fb53b7ee286573..36131579194b46335111241af62813754a7ac622 100644
--- a/runtime/vm/intermediate_language.h
+++ b/runtime/vm/intermediate_language.h
@@ -4402,6 +4402,8 @@ class BoxFloat32x4Instr : public TemplateDefinition<1> {
virtual bool MayThrow() const { return false; }
+ Definition* Canonicalize(FlowGraph* flow_graph);
+
private:
DISALLOW_COPY_AND_ASSIGN(BoxFloat32x4Instr);
};
@@ -4432,6 +4434,8 @@ class BoxUint32x4Instr : public TemplateDefinition<1> {
virtual bool MayThrow() const { return false; }
+ Definition* Canonicalize(FlowGraph* flow_graph);
+
private:
DISALLOW_COPY_AND_ASSIGN(BoxUint32x4Instr);
};
@@ -4529,6 +4533,8 @@ class UnboxFloat32x4Instr : public TemplateDefinition<1> {
virtual bool MayThrow() const { return false; }
+ Definition* Canonicalize(FlowGraph* flow_graph);
+
private:
DISALLOW_COPY_AND_ASSIGN(UnboxFloat32x4Instr);
};
@@ -4561,6 +4567,8 @@ class UnboxUint32x4Instr : public TemplateDefinition<1> {
virtual bool MayThrow() const { return false; }
+ Definition* Canonicalize(FlowGraph* flow_graph);
+
private:
DISALLOW_COPY_AND_ASSIGN(UnboxUint32x4Instr);
};
« no previous file with comments | « no previous file | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698