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

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

Issue 937193005: Mitigate windows crash & failure by disabling merging of sin & cos. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 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 | « no previous file | no next file » | 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 15 matching lines...) Expand all
26 26
27 DEFINE_FLAG(int, getter_setter_ratio, 13, 27 DEFINE_FLAG(int, getter_setter_ratio, 13,
28 "Ratio of getter/setter usage used for double field unboxing heuristics"); 28 "Ratio of getter/setter usage used for double field unboxing heuristics");
29 DEFINE_FLAG(bool, load_cse, true, "Use redundant load elimination."); 29 DEFINE_FLAG(bool, load_cse, true, "Use redundant load elimination.");
30 DEFINE_FLAG(bool, dead_store_elimination, true, "Eliminate dead stores"); 30 DEFINE_FLAG(bool, dead_store_elimination, true, "Eliminate dead stores");
31 DEFINE_FLAG(int, max_polymorphic_checks, 4, 31 DEFINE_FLAG(int, max_polymorphic_checks, 4,
32 "Maximum number of polymorphic check, otherwise it is megamorphic."); 32 "Maximum number of polymorphic check, otherwise it is megamorphic.");
33 DEFINE_FLAG(int, max_equality_polymorphic_checks, 32, 33 DEFINE_FLAG(int, max_equality_polymorphic_checks, 32,
34 "Maximum number of polymorphic checks in equality operator," 34 "Maximum number of polymorphic checks in equality operator,"
35 " otherwise use megamorphic dispatch."); 35 " otherwise use megamorphic dispatch.");
36 DEFINE_FLAG(bool, merge_sin_cos, true, "Merge sin/cos into sincos"); 36 DEFINE_FLAG(bool, merge_sin_cos, false, "Merge sin/cos into sincos");
37 DEFINE_FLAG(bool, trace_load_optimization, false, 37 DEFINE_FLAG(bool, trace_load_optimization, false,
38 "Print live sets for load optimization pass."); 38 "Print live sets for load optimization pass.");
39 DEFINE_FLAG(bool, trace_optimization, false, "Print optimization details."); 39 DEFINE_FLAG(bool, trace_optimization, false, "Print optimization details.");
40 DEFINE_FLAG(bool, truncating_left_shift, true, 40 DEFINE_FLAG(bool, truncating_left_shift, true,
41 "Optimize left shift to truncate if possible"); 41 "Optimize left shift to truncate if possible");
42 DEFINE_FLAG(bool, use_cha, true, "Use class hierarchy analysis."); 42 DEFINE_FLAG(bool, use_cha, true, "Use class hierarchy analysis.");
43 #if defined(TARGET_ARCH_ARM) || defined(TARGET_ARCH_IA32) 43 #if defined(TARGET_ARCH_ARM) || defined(TARGET_ARCH_IA32)
44 DEFINE_FLAG(bool, trace_smi_widening, false, "Trace Smi->Int32 widening pass."); 44 DEFINE_FLAG(bool, trace_smi_widening, false, "Trace Smi->Int32 widening pass.");
45 #endif 45 #endif
46 DECLARE_FLAG(bool, enable_type_checks); 46 DECLARE_FLAG(bool, enable_type_checks);
(...skipping 8563 matching lines...) Expand 10 before | Expand all | Expand 10 after
8610 8610
8611 // Insert materializations at environment uses. 8611 // Insert materializations at environment uses.
8612 for (intptr_t i = 0; i < exits_collector_.exits().length(); i++) { 8612 for (intptr_t i = 0; i < exits_collector_.exits().length(); i++) {
8613 CreateMaterializationAt( 8613 CreateMaterializationAt(
8614 exits_collector_.exits()[i], alloc, *slots); 8614 exits_collector_.exits()[i], alloc, *slots);
8615 } 8615 }
8616 } 8616 }
8617 8617
8618 8618
8619 } // namespace dart 8619 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698