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

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

Issue 53753003: Cleanups. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 1 month 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 | « no previous file | 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 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 const StoreInstanceFieldNode& store_node = 637 const StoreInstanceFieldNode& store_node =
638 *sequence_node.NodeAt(0)->AsStoreInstanceFieldNode(); 638 *sequence_node.NodeAt(0)->AsStoreInstanceFieldNode();
639 if (store_node.field().guarded_cid() == kDynamicCid) { 639 if (store_node.field().guarded_cid() == kDynamicCid) {
640 GenerateInlinedSetter(store_node.field().Offset()); 640 GenerateInlinedSetter(store_node.field().Offset());
641 return; 641 return;
642 } 642 }
643 } 643 }
644 } 644 }
645 // Even if an intrinsified version of the function was successfully 645 // Even if an intrinsified version of the function was successfully
646 // generated, it may fall through to the non-intrinsified method body. 646 // generated, it may fall through to the non-intrinsified method body.
647 return Intrinsifier::Intrinsify(parsed_function().function(), assembler()); 647 Intrinsifier::Intrinsify(parsed_function().function(), assembler());
648 } 648 }
649 649
650 650
651 void FlowGraphCompiler::GenerateInstanceCall( 651 void FlowGraphCompiler::GenerateInstanceCall(
652 intptr_t deopt_id, 652 intptr_t deopt_id,
653 intptr_t token_pos, 653 intptr_t token_pos,
654 intptr_t argument_count, 654 intptr_t argument_count,
655 const Array& argument_names, 655 const Array& argument_names,
656 LocationSummary* locs, 656 LocationSummary* locs,
657 const ICData& ic_data) { 657 const ICData& ic_data) {
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1204 1204
1205 for (int i = 0; i < len; i++) { 1205 for (int i = 0; i < len; i++) {
1206 sorted->Add(CidTarget(ic_data.GetReceiverClassIdAt(i), 1206 sorted->Add(CidTarget(ic_data.GetReceiverClassIdAt(i),
1207 &Function::ZoneHandle(ic_data.GetTargetAt(i)), 1207 &Function::ZoneHandle(ic_data.GetTargetAt(i)),
1208 ic_data.GetCountAt(i))); 1208 ic_data.GetCountAt(i)));
1209 } 1209 }
1210 sorted->Sort(HighestCountFirst); 1210 sorted->Sort(HighestCountFirst);
1211 } 1211 }
1212 1212
1213 } // namespace dart 1213 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698