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

Side by Side Diff: runtime/vm/flow_graph_compiler.cc

Issue 172653002: Unbox/Box Float64x2 and inline typed array loads and stores (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/flow_graph_optimizer.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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 block_info_(block_order_.length()), 79 block_info_(block_order_.length()),
80 deopt_infos_(), 80 deopt_infos_(),
81 static_calls_target_table_(GrowableObjectArray::ZoneHandle( 81 static_calls_target_table_(GrowableObjectArray::ZoneHandle(
82 GrowableObjectArray::New())), 82 GrowableObjectArray::New())),
83 is_optimizing_(is_optimizing), 83 is_optimizing_(is_optimizing),
84 may_reoptimize_(false), 84 may_reoptimize_(false),
85 double_class_(Class::ZoneHandle( 85 double_class_(Class::ZoneHandle(
86 Isolate::Current()->object_store()->double_class())), 86 Isolate::Current()->object_store()->double_class())),
87 float32x4_class_(Class::ZoneHandle( 87 float32x4_class_(Class::ZoneHandle(
88 Isolate::Current()->object_store()->float32x4_class())), 88 Isolate::Current()->object_store()->float32x4_class())),
89 float64x2_class_(Class::ZoneHandle(
90 Isolate::Current()->object_store()->float64x2_class())),
89 int32x4_class_(Class::ZoneHandle( 91 int32x4_class_(Class::ZoneHandle(
90 Isolate::Current()->object_store()->int32x4_class())), 92 Isolate::Current()->object_store()->int32x4_class())),
91 list_class_(Class::ZoneHandle( 93 list_class_(Class::ZoneHandle(
92 Library::Handle(Library::CoreLibrary()). 94 Library::Handle(Library::CoreLibrary()).
93 LookupClass(Symbols::List()))), 95 LookupClass(Symbols::List()))),
94 parallel_move_resolver_(this), 96 parallel_move_resolver_(this),
95 pending_deoptimization_env_(NULL) { 97 pending_deoptimization_env_(NULL) {
96 ASSERT(assembler != NULL); 98 ASSERT(assembler != NULL);
97 ASSERT(!list_class_.IsNull()); 99 ASSERT(!list_class_.IsNull());
98 } 100 }
(...skipping 1181 matching lines...) Expand 10 before | Expand all | Expand 10 after
1280 1282
1281 for (int i = 0; i < len; i++) { 1283 for (int i = 0; i < len; i++) {
1282 sorted->Add(CidTarget(ic_data.GetReceiverClassIdAt(i), 1284 sorted->Add(CidTarget(ic_data.GetReceiverClassIdAt(i),
1283 &Function::ZoneHandle(ic_data.GetTargetAt(i)), 1285 &Function::ZoneHandle(ic_data.GetTargetAt(i)),
1284 ic_data.GetCountAt(i))); 1286 ic_data.GetCountAt(i)));
1285 } 1287 }
1286 sorted->Sort(HighestCountFirst); 1288 sorted->Sort(HighestCountFirst);
1287 } 1289 }
1288 1290
1289 } // namespace dart 1291 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler.h ('k') | runtime/vm/flow_graph_optimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698