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

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

Issue 284013002: Improve performance of stubcode based array allocation moving stub to isolate specific area. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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 | « no previous file | runtime/vm/intrinsifier.h » ('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/flow_graph_optimizer.h" 5 #include "vm/flow_graph_optimizer.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/cha.h" 8 #include "vm/cha.h"
9 #include "vm/cpu.h" 9 #include "vm/cpu.h"
10 #include "vm/dart_entry.h" 10 #include "vm/dart_entry.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 DEFINE_FLAG(bool, trace_range_analysis, false, "Trace range analysis progress"); 43 DEFINE_FLAG(bool, trace_range_analysis, false, "Trace range analysis progress");
44 DEFINE_FLAG(bool, truncating_left_shift, true, 44 DEFINE_FLAG(bool, truncating_left_shift, true,
45 "Optimize left shift to truncate if possible"); 45 "Optimize left shift to truncate if possible");
46 DEFINE_FLAG(bool, use_cha, true, "Use class hierarchy analysis."); 46 DEFINE_FLAG(bool, use_cha, true, "Use class hierarchy analysis.");
47 DECLARE_FLAG(bool, eliminate_type_checks); 47 DECLARE_FLAG(bool, eliminate_type_checks);
48 DECLARE_FLAG(bool, enable_type_checks); 48 DECLARE_FLAG(bool, enable_type_checks);
49 DECLARE_FLAG(bool, source_lines); 49 DECLARE_FLAG(bool, source_lines);
50 DECLARE_FLAG(bool, trace_type_check_elimination); 50 DECLARE_FLAG(bool, trace_type_check_elimination);
51 DECLARE_FLAG(bool, warn_on_javascript_compatibility); 51 DECLARE_FLAG(bool, warn_on_javascript_compatibility);
52 52
53
53 static bool ShouldInlineSimd() { 54 static bool ShouldInlineSimd() {
54 return FlowGraphCompiler::SupportsUnboxedSimd128(); 55 return FlowGraphCompiler::SupportsUnboxedSimd128();
55 } 56 }
56 57
57 58
58 // Optimize instance calls using ICData. 59 // Optimize instance calls using ICData.
59 void FlowGraphOptimizer::ApplyICData() { 60 void FlowGraphOptimizer::ApplyICData() {
60 VisitBlocks(); 61 VisitBlocks();
61 } 62 }
62 63
(...skipping 9564 matching lines...) Expand 10 before | Expand all | Expand 10 after
9627 } 9628 }
9628 9629
9629 // Insert materializations at environment uses. 9630 // Insert materializations at environment uses.
9630 for (intptr_t i = 0; i < exits.length(); i++) { 9631 for (intptr_t i = 0; i < exits.length(); i++) {
9631 CreateMaterializationAt(exits[i], alloc, alloc->cls(), *slots); 9632 CreateMaterializationAt(exits[i], alloc, alloc->cls(), *slots);
9632 } 9633 }
9633 } 9634 }
9634 9635
9635 9636
9636 } // namespace dart 9637 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/intrinsifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698