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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 56023004: Replace Uint32x4/Uint32x4List with Int32x4/Int32x4List (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month 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 | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.cc
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index 8b4d91ab0c88e32ac7e32c5ecafa9da6ba61f87b..a31ba2c2ed6ddb45e3f0eb1eb301011cc2ce9f8e 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -1499,15 +1499,15 @@ Definition* UnboxFloat32x4Instr::Canonicalize(FlowGraph* flow_graph) {
}
-Definition* BoxUint32x4Instr::Canonicalize(FlowGraph* flow_graph) {
+Definition* BoxInt32x4Instr::Canonicalize(FlowGraph* flow_graph) {
if (input_use_list() == NULL) {
// Environments can accomodate any representation. No need to box.
return value()->definition();
}
- // Fold away BoxUint32x4(UnboxUint32x4(v)).
- UnboxUint32x4Instr* defn = value()->definition()->AsUnboxUint32x4();
- if ((defn != NULL) && (defn->value()->Type()->ToCid() == kUint32x4Cid)) {
+ // Fold away BoxInt32x4(UnboxInt32x4(v)).
+ UnboxInt32x4Instr* defn = value()->definition()->AsUnboxInt32x4();
+ if ((defn != NULL) && (defn->value()->Type()->ToCid() == kInt32x4Cid)) {
return defn->value()->definition();
}
@@ -1515,9 +1515,9 @@ Definition* BoxUint32x4Instr::Canonicalize(FlowGraph* flow_graph) {
}
-Definition* UnboxUint32x4Instr::Canonicalize(FlowGraph* flow_graph) {
- // Fold away UnboxUint32x4(BoxUint32x4(v)).
- BoxUint32x4Instr* defn = value()->definition()->AsBoxUint32x4();
+Definition* UnboxInt32x4Instr::Canonicalize(FlowGraph* flow_graph) {
+ // Fold away UnboxInt32x4(BoxInt32x4(v)).
+ BoxInt32x4Instr* defn = value()->definition()->AsBoxInt32x4();
return (defn != NULL) ? defn->value()->definition() : this;
}
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698