| 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); |
| 37 | 38 |
| 38 Definition::Definition() | 39 Definition::Definition() |
| 39 : range_(NULL), | 40 : range_(NULL), |
| 40 type_(NULL), | 41 type_(NULL), |
| 41 temp_index_(-1), | 42 temp_index_(-1), |
| 42 ssa_temp_index_(-1), | 43 ssa_temp_index_(-1), |
| 43 input_use_list_(NULL), | 44 input_use_list_(NULL), |
| 44 env_use_list_(NULL), | 45 env_use_list_(NULL), |
| 45 use_kind_(kValue), // Phis and parameters rely on this default. | 46 use_kind_(kValue), // Phis and parameters rely on this default. |
| 46 constant_value_(Object::ZoneHandle(ConstantPropagator::Unknown())) { | 47 constant_value_(Object::ZoneHandle(ConstantPropagator::Unknown())) { |
| (...skipping 3354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3401 case Token::kTRUNCDIV: return 0; | 3402 case Token::kTRUNCDIV: return 0; |
| 3402 case Token::kMOD: return 1; | 3403 case Token::kMOD: return 1; |
| 3403 default: UNIMPLEMENTED(); return -1; | 3404 default: UNIMPLEMENTED(); return -1; |
| 3404 } | 3405 } |
| 3405 } | 3406 } |
| 3406 | 3407 |
| 3407 | 3408 |
| 3408 #undef __ | 3409 #undef __ |
| 3409 | 3410 |
| 3410 } // namespace dart | 3411 } // namespace dart |
| OLD | NEW |