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

Side by Side Diff: runtime/vm/flow_graph_compiler.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX.
6 6
7 #include "vm/flow_graph_compiler.h" 7 #include "vm/flow_graph_compiler.h"
8 8
9 #include "vm/cha.h" 9 #include "vm/cha.h"
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 563 matching lines...) Expand 10 before | Expand all | Expand 10 after
574 intptr_t index = fpu_reg_slots[loc.fpu_reg()]; 574 intptr_t index = fpu_reg_slots[loc.fpu_reg()];
575 ASSERT(index >= 0); 575 ASSERT(index >= 0);
576 Value* value = it.CurrentValue(); 576 Value* value = it.CurrentValue();
577 switch (value->definition()->representation()) { 577 switch (value->definition()->representation()) {
578 case kUnboxedDouble: 578 case kUnboxedDouble:
579 case kUnboxedMint: 579 case kUnboxedMint:
580 it.SetCurrentLocation(Location::DoubleStackSlot(index)); 580 it.SetCurrentLocation(Location::DoubleStackSlot(index));
581 break; 581 break;
582 case kUnboxedFloat32x4: 582 case kUnboxedFloat32x4:
583 case kUnboxedInt32x4: 583 case kUnboxedInt32x4:
584 case kUnboxedFloat64x2:
584 it.SetCurrentLocation(Location::QuadStackSlot(index)); 585 it.SetCurrentLocation(Location::QuadStackSlot(index));
585 break; 586 break;
586 default: 587 default:
587 UNREACHABLE(); 588 UNREACHABLE();
588 } 589 }
589 } 590 }
590 } 591 }
591 592
592 return env; 593 return env;
593 } 594 }
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after
1258 1259
1259 for (int i = 0; i < len; i++) { 1260 for (int i = 0; i < len; i++) {
1260 sorted->Add(CidTarget(ic_data.GetReceiverClassIdAt(i), 1261 sorted->Add(CidTarget(ic_data.GetReceiverClassIdAt(i),
1261 &Function::ZoneHandle(ic_data.GetTargetAt(i)), 1262 &Function::ZoneHandle(ic_data.GetTargetAt(i)),
1262 ic_data.GetCountAt(i))); 1263 ic_data.GetCountAt(i)));
1263 } 1264 }
1264 sorted->Sort(HighestCountFirst); 1265 sorted->Sort(HighestCountFirst);
1265 } 1266 }
1266 1267
1267 } // namespace dart 1268 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698