OLD | NEW |
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/bigint_operations.h" | 7 #include "vm/bigint_operations.h" |
8 #include "vm/bit_vector.h" | 8 #include "vm/bit_vector.h" |
9 #include "vm/cpu.h" | 9 #include "vm/cpu.h" |
10 #include "vm/dart_entry.h" | 10 #include "vm/dart_entry.h" |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 DEFINE_FLAG(bool, propagate_ic_data, true, | 28 DEFINE_FLAG(bool, propagate_ic_data, true, |
29 "Propagate IC data from unoptimized to optimized IC calls."); | 29 "Propagate IC data from unoptimized to optimized IC calls."); |
30 DEFINE_FLAG(bool, unbox_numeric_fields, true, | 30 DEFINE_FLAG(bool, unbox_numeric_fields, true, |
31 "Support unboxed double and float32x4 fields."); | 31 "Support unboxed double and float32x4 fields."); |
32 DECLARE_FLAG(bool, enable_type_checks); | 32 DECLARE_FLAG(bool, enable_type_checks); |
33 DECLARE_FLAG(bool, eliminate_type_checks); | 33 DECLARE_FLAG(bool, eliminate_type_checks); |
34 DECLARE_FLAG(bool, trace_optimization); | 34 DECLARE_FLAG(bool, trace_optimization); |
35 DECLARE_FLAG(bool, trace_constant_propagation); | 35 DECLARE_FLAG(bool, trace_constant_propagation); |
36 DECLARE_FLAG(bool, throw_on_javascript_int_overflow); | 36 DECLARE_FLAG(bool, throw_on_javascript_int_overflow); |
37 DECLARE_FLAG(bool, warn_on_javascript_compatibility); | |
38 | 37 |
39 Definition::Definition() | 38 Definition::Definition() |
40 : range_(NULL), | 39 : range_(NULL), |
41 type_(NULL), | 40 type_(NULL), |
42 temp_index_(-1), | 41 temp_index_(-1), |
43 ssa_temp_index_(-1), | 42 ssa_temp_index_(-1), |
44 input_use_list_(NULL), | 43 input_use_list_(NULL), |
45 env_use_list_(NULL), | 44 env_use_list_(NULL), |
46 constant_value_(Object::ZoneHandle(ConstantPropagator::Unknown())) { | 45 constant_value_(Object::ZoneHandle(ConstantPropagator::Unknown())) { |
47 } | 46 } |
(...skipping 3422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3470 case Token::kTRUNCDIV: return 0; | 3469 case Token::kTRUNCDIV: return 0; |
3471 case Token::kMOD: return 1; | 3470 case Token::kMOD: return 1; |
3472 default: UNIMPLEMENTED(); return -1; | 3471 default: UNIMPLEMENTED(); return -1; |
3473 } | 3472 } |
3474 } | 3473 } |
3475 | 3474 |
3476 | 3475 |
3477 #undef __ | 3476 #undef __ |
3478 | 3477 |
3479 } // namespace dart | 3478 } // namespace dart |
OLD | NEW |