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

Unified Diff: runtime/vm/object.cc

Issue 195333002: Unboxed Float64x2 fields and some misc fixes (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 | « runtime/vm/intermediate_language_x64.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 382dac2ca16413e891813f1c8e353508f8d3b2e1..3fb01ef7895dfaebfde6cca990f7a47e63511d1f 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -6370,8 +6370,10 @@ void Field::set_guarded_list_length(intptr_t list_length) const {
bool Field::IsUnboxedField() const {
bool valid_class = (guarded_cid() == kDoubleCid) ||
- (FlowGraphCompiler::SupportsUnboxedFloat32x4() &&
- (guarded_cid() == kFloat32x4Cid));
+ (FlowGraphCompiler::SupportsUnboxedSimd128() &&
+ (guarded_cid() == kFloat32x4Cid)) ||
+ (FlowGraphCompiler::SupportsUnboxedSimd128() &&
+ (guarded_cid() == kFloat64x2Cid));
return is_unboxing_candidate() && !is_final() && !is_nullable() &&
valid_class;
}
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698