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

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

Issue 1739593002: Revert "Move precompilation-related flags to flags list." (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/intermediate_language_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/intermediate_language.h" 5 #include "vm/intermediate_language.h"
6 6
7 #include "vm/bit_vector.h" 7 #include "vm/bit_vector.h"
8 #include "vm/bootstrap.h" 8 #include "vm/bootstrap.h"
9 #include "vm/compiler.h" 9 #include "vm/compiler.h"
10 #include "vm/constant_propagator.h" 10 #include "vm/constant_propagator.h"
(...skipping 11 matching lines...) Expand all
22 #include "vm/regexp_assembler_ir.h" 22 #include "vm/regexp_assembler_ir.h"
23 #include "vm/resolver.h" 23 #include "vm/resolver.h"
24 #include "vm/scopes.h" 24 #include "vm/scopes.h"
25 #include "vm/stub_code.h" 25 #include "vm/stub_code.h"
26 #include "vm/symbols.h" 26 #include "vm/symbols.h"
27 27
28 #include "vm/il_printer.h" 28 #include "vm/il_printer.h"
29 29
30 namespace dart { 30 namespace dart {
31 31
32 DEFINE_FLAG(bool, ic_range_profiling, true,
33 "Generate special IC stubs collecting range information "
34 "for binary and unary arithmetic operations");
32 DEFINE_FLAG(bool, propagate_ic_data, true, 35 DEFINE_FLAG(bool, propagate_ic_data, true,
33 "Propagate IC data from unoptimized to optimized IC calls."); 36 "Propagate IC data from unoptimized to optimized IC calls.");
34 DEFINE_FLAG(bool, two_args_smi_icd, true, 37 DEFINE_FLAG(bool, two_args_smi_icd, true,
35 "Generate special IC stubs for two args Smi operations"); 38 "Generate special IC stubs for two args Smi operations");
36 DEFINE_FLAG(bool, unbox_numeric_fields, true, 39 DEFINE_FLAG(bool, unbox_numeric_fields, true,
37 "Support unboxed double and float32x4 fields."); 40 "Support unboxed double and float32x4 fields.");
41 DEFINE_FLAG(bool, fields_may_be_reset, false,
42 "Don't optimize away static field initialization");
38 DECLARE_FLAG(bool, eliminate_type_checks); 43 DECLARE_FLAG(bool, eliminate_type_checks);
39 44
40 Definition::Definition(intptr_t deopt_id) 45 Definition::Definition(intptr_t deopt_id)
41 : Instruction(deopt_id), 46 : Instruction(deopt_id),
42 range_(NULL), 47 range_(NULL),
43 type_(NULL), 48 type_(NULL),
44 temp_index_(-1), 49 temp_index_(-1),
45 ssa_temp_index_(-1), 50 ssa_temp_index_(-1),
46 input_use_list_(NULL), 51 input_use_list_(NULL),
47 env_use_list_(NULL), 52 env_use_list_(NULL),
(...skipping 3676 matching lines...) Expand 10 before | Expand all | Expand 10 after
3724 set_native_c_function(native_function); 3729 set_native_c_function(native_function);
3725 function().SetIsNativeAutoSetupScope(auto_setup_scope); 3730 function().SetIsNativeAutoSetupScope(auto_setup_scope);
3726 Dart_NativeEntryResolver resolver = library.native_entry_resolver(); 3731 Dart_NativeEntryResolver resolver = library.native_entry_resolver();
3727 bool is_bootstrap_native = Bootstrap::IsBootstapResolver(resolver); 3732 bool is_bootstrap_native = Bootstrap::IsBootstapResolver(resolver);
3728 set_is_bootstrap_native(is_bootstrap_native); 3733 set_is_bootstrap_native(is_bootstrap_native);
3729 } 3734 }
3730 3735
3731 #undef __ 3736 #undef __
3732 3737
3733 } // namespace dart 3738 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/il_printer.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698