| 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 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 } | 759 } |
| 760 | 760 |
| 761 | 761 |
| 762 RawAbstractType* StoreIndexedComp::StaticType() const { | 762 RawAbstractType* StoreIndexedComp::StaticType() const { |
| 763 UNREACHABLE(); | 763 UNREACHABLE(); |
| 764 return AbstractType::null(); | 764 return AbstractType::null(); |
| 765 } | 765 } |
| 766 | 766 |
| 767 | 767 |
| 768 RawAbstractType* InstanceSetterComp::StaticType() const { | 768 RawAbstractType* InstanceSetterComp::StaticType() const { |
| 769 return value()->StaticType(); | 769 // This computation does not have a result value. |
| 770 UNREACHABLE(); |
| 771 return AbstractType::null(); |
| 770 } | 772 } |
| 771 | 773 |
| 772 | 774 |
| 773 RawAbstractType* StaticSetterComp::StaticType() const { | 775 RawAbstractType* StaticSetterComp::StaticType() const { |
| 774 return value()->StaticType(); | 776 return value()->StaticType(); |
| 775 } | 777 } |
| 776 | 778 |
| 777 | 779 |
| 778 RawAbstractType* LoadInstanceFieldComp::StaticType() const { | 780 RawAbstractType* LoadInstanceFieldComp::StaticType() const { |
| 779 if (FLAG_enable_type_checks) { | 781 if (FLAG_enable_type_checks) { |
| (...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1359 if (compiler->is_ssa()) { | 1361 if (compiler->is_ssa()) { |
| 1360 ASSERT(locs()->in(0).IsRegister()); | 1362 ASSERT(locs()->in(0).IsRegister()); |
| 1361 __ PushRegister(locs()->in(0).reg()); | 1363 __ PushRegister(locs()->in(0).reg()); |
| 1362 } | 1364 } |
| 1363 } | 1365 } |
| 1364 | 1366 |
| 1365 | 1367 |
| 1366 #undef __ | 1368 #undef __ |
| 1367 | 1369 |
| 1368 } // namespace dart | 1370 } // namespace dart |
| OLD | NEW |