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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 13818006: Unboxed load/store indexed of Float32x4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: runtime/vm/intermediate_language.cc
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc
index 292d6aaf0ed60460eeddbbff82f3a1d36ab2a8f6..e92b2ef792cfc3d69f8042bf90dff15ef4a14cc6 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -1355,6 +1355,11 @@ Instruction* CheckSmiInstr::Canonicalize(FlowGraphOptimizer* optimizer) {
}
+Instruction* CheckNonSmiInstr::Canonicalize(FlowGraphOptimizer* optimizer) {
+ return (value()->Type()->ToCid() != kSmiCid) ? NULL : this;
+}
+
+
Instruction* CheckEitherNonSmiInstr::Canonicalize(
FlowGraphOptimizer* optimizer) {
if ((left()->Type()->ToCid() == kDoubleCid) ||

Powered by Google App Engine
This is Rietveld 408576698