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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 150063004: Support reusable boxes for Float32x4 fields (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 a4bd4f9f27c82cfbff20d6109b1c7dcafcddf19b..d0299fd00e0665e8cb9a8505142772787a4c0719 100644
--- a/runtime/vm/intermediate_language.cc
+++ b/runtime/vm/intermediate_language.cc
@@ -157,7 +157,8 @@ Representation LoadFieldInstr::representation() const {
switch (cid) {
case kDoubleCid:
return kUnboxedDouble;
- // TODO(johnmccutchan): Add kFloat32x4Cid here.
+ case kFloat32x4Cid:
+ return kUnboxedFloat32x4;
default:
UNREACHABLE();
}
@@ -184,6 +185,8 @@ Representation StoreInstanceFieldInstr::RequiredInputRepresentation(
switch (cid) {
case kDoubleCid:
return kUnboxedDouble;
+ case kFloat32x4Cid:
+ return kUnboxedFloat32x4;
default:
UNREACHABLE();
}

Powered by Google App Engine
This is Rietveld 408576698