| 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_allocator.h" | 9 #include "vm/flow_graph_allocator.h" |
| 10 #include "vm/flow_graph_builder.h" | 10 #include "vm/flow_graph_builder.h" |
| (...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1116 RawAbstractType* BoxDoubleInstr::CompileType() const { | 1116 RawAbstractType* BoxDoubleInstr::CompileType() const { |
| 1117 return Type::Double(); | 1117 return Type::Double(); |
| 1118 } | 1118 } |
| 1119 | 1119 |
| 1120 | 1120 |
| 1121 RawAbstractType* UnarySmiOpInstr::CompileType() const { | 1121 RawAbstractType* UnarySmiOpInstr::CompileType() const { |
| 1122 return Type::SmiType(); | 1122 return Type::SmiType(); |
| 1123 } | 1123 } |
| 1124 | 1124 |
| 1125 | 1125 |
| 1126 RawAbstractType* NumberNegateInstr::CompileType() const { | |
| 1127 // Implemented only for doubles. | |
| 1128 return Type::Double(); | |
| 1129 } | |
| 1130 | |
| 1131 | |
| 1132 RawAbstractType* DoubleToDoubleInstr::CompileType() const { | 1126 RawAbstractType* DoubleToDoubleInstr::CompileType() const { |
| 1133 return Type::Double(); | 1127 return Type::Double(); |
| 1134 } | 1128 } |
| 1135 | 1129 |
| 1136 | 1130 |
| 1137 RawAbstractType* SmiToDoubleInstr::CompileType() const { | 1131 RawAbstractType* SmiToDoubleInstr::CompileType() const { |
| 1138 return Type::Double(); | 1132 return Type::Double(); |
| 1139 } | 1133 } |
| 1140 | 1134 |
| 1141 | 1135 |
| (...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1692 value->set_use_index(use_index++); | 1686 value->set_use_index(use_index++); |
| 1693 value->AddToEnvUseList(); | 1687 value->AddToEnvUseList(); |
| 1694 } | 1688 } |
| 1695 instr->set_env(copy); | 1689 instr->set_env(copy); |
| 1696 } | 1690 } |
| 1697 | 1691 |
| 1698 | 1692 |
| 1699 #undef __ | 1693 #undef __ |
| 1700 | 1694 |
| 1701 } // namespace dart | 1695 } // namespace dart |
| OLD | NEW |