| 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 781 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 792 return Type::DynamicType(); | 792 return Type::DynamicType(); |
| 793 } | 793 } |
| 794 | 794 |
| 795 | 795 |
| 796 RawAbstractType* StoreIndexedComp::StaticType() const { | 796 RawAbstractType* StoreIndexedComp::StaticType() const { |
| 797 UNREACHABLE(); | 797 UNREACHABLE(); |
| 798 return AbstractType::null(); | 798 return AbstractType::null(); |
| 799 } | 799 } |
| 800 | 800 |
| 801 | 801 |
| 802 RawAbstractType* InstanceSetterComp::StaticType() const { | |
| 803 // This computation does not have a result value. | |
| 804 UNREACHABLE(); | |
| 805 return AbstractType::null(); | |
| 806 } | |
| 807 | |
| 808 | |
| 809 RawAbstractType* LoadInstanceFieldComp::StaticType() const { | 802 RawAbstractType* LoadInstanceFieldComp::StaticType() const { |
| 810 if (FLAG_enable_type_checks) { | 803 if (FLAG_enable_type_checks) { |
| 811 return field().type(); | 804 return field().type(); |
| 812 } | 805 } |
| 813 return Type::DynamicType(); | 806 return Type::DynamicType(); |
| 814 } | 807 } |
| 815 | 808 |
| 816 | 809 |
| 817 RawAbstractType* StoreInstanceFieldComp::StaticType() const { | 810 RawAbstractType* StoreInstanceFieldComp::StaticType() const { |
| 818 return value()->StaticType(); | 811 return value()->StaticType(); |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1388 if (compiler->is_ssa()) { | 1381 if (compiler->is_ssa()) { |
| 1389 ASSERT(locs()->in(0).IsRegister()); | 1382 ASSERT(locs()->in(0).IsRegister()); |
| 1390 __ PushRegister(locs()->in(0).reg()); | 1383 __ PushRegister(locs()->in(0).reg()); |
| 1391 } | 1384 } |
| 1392 } | 1385 } |
| 1393 | 1386 |
| 1394 | 1387 |
| 1395 #undef __ | 1388 #undef __ |
| 1396 | 1389 |
| 1397 } // namespace dart | 1390 } // namespace dart |
| OLD | NEW |