| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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/dart_entry.h" | 8 #include "vm/dart_entry.h" |
| 9 #include "vm/flow_graph_builder.h" | 9 #include "vm/flow_graph_builder.h" |
| 10 #include "vm/flow_graph_compiler.h" | 10 #include "vm/flow_graph_compiler.h" |
| (...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 799 } | 799 } |
| 800 | 800 |
| 801 | 801 |
| 802 RawAbstractType* InstanceSetterComp::StaticType() const { | 802 RawAbstractType* InstanceSetterComp::StaticType() const { |
| 803 // This computation does not have a result value. | 803 // This computation does not have a result value. |
| 804 UNREACHABLE(); | 804 UNREACHABLE(); |
| 805 return AbstractType::null(); | 805 return AbstractType::null(); |
| 806 } | 806 } |
| 807 | 807 |
| 808 | 808 |
| 809 RawAbstractType* StaticSetterComp::StaticType() const { | |
| 810 return value()->StaticType(); | |
| 811 } | |
| 812 | |
| 813 | |
| 814 RawAbstractType* LoadInstanceFieldComp::StaticType() const { | 809 RawAbstractType* LoadInstanceFieldComp::StaticType() const { |
| 815 if (FLAG_enable_type_checks) { | 810 if (FLAG_enable_type_checks) { |
| 816 return field().type(); | 811 return field().type(); |
| 817 } | 812 } |
| 818 return Type::DynamicType(); | 813 return Type::DynamicType(); |
| 819 } | 814 } |
| 820 | 815 |
| 821 | 816 |
| 822 RawAbstractType* StoreInstanceFieldComp::StaticType() const { | 817 RawAbstractType* StoreInstanceFieldComp::StaticType() const { |
| 823 return value()->StaticType(); | 818 return value()->StaticType(); |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1393 if (compiler->is_ssa()) { | 1388 if (compiler->is_ssa()) { |
| 1394 ASSERT(locs()->in(0).IsRegister()); | 1389 ASSERT(locs()->in(0).IsRegister()); |
| 1395 __ PushRegister(locs()->in(0).reg()); | 1390 __ PushRegister(locs()->in(0).reg()); |
| 1396 } | 1391 } |
| 1397 } | 1392 } |
| 1398 | 1393 |
| 1399 | 1394 |
| 1400 #undef __ | 1395 #undef __ |
| 1401 | 1396 |
| 1402 } // namespace dart | 1397 } // namespace dart |
| OLD | NEW |