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

Unified Diff: dart/runtime/vm/intermediate_language.cc

Issue 59073003: Version 0.8.10.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
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 | « dart/runtime/vm/intermediate_language.h ('k') | dart/runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/runtime/vm/intermediate_language.cc
===================================================================
--- dart/runtime/vm/intermediate_language.cc (revision 29808)
+++ dart/runtime/vm/intermediate_language.cc (working copy)
@@ -1517,15 +1517,15 @@
}
-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();
}
@@ -1533,9 +1533,9 @@
}
-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 | « dart/runtime/vm/intermediate_language.h ('k') | dart/runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698