| 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 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1205 RawAbstractType* UnboxedMintBinaryOpInstr::CompileType() const { | 1205 RawAbstractType* UnboxedMintBinaryOpInstr::CompileType() const { |
| 1206 return Type::IntType(); | 1206 return Type::IntType(); |
| 1207 } | 1207 } |
| 1208 | 1208 |
| 1209 | 1209 |
| 1210 intptr_t UnboxedMintBinaryOpInstr::ResultCid() const { | 1210 intptr_t UnboxedMintBinaryOpInstr::ResultCid() const { |
| 1211 return kDynamicCid; | 1211 return kDynamicCid; |
| 1212 } | 1212 } |
| 1213 | 1213 |
| 1214 | 1214 |
| 1215 RawAbstractType* UnboxedMintUnaryOpInstr::CompileType() const { |
| 1216 return Type::IntType(); |
| 1217 } |
| 1218 |
| 1219 |
| 1220 intptr_t UnboxedMintUnaryOpInstr::ResultCid() const { |
| 1221 return kDynamicCid; |
| 1222 } |
| 1223 |
| 1224 |
| 1215 RawAbstractType* UnboxedDoubleBinaryOpInstr::CompileType() const { | 1225 RawAbstractType* UnboxedDoubleBinaryOpInstr::CompileType() const { |
| 1216 return Type::Double(); | 1226 return Type::Double(); |
| 1217 } | 1227 } |
| 1218 | 1228 |
| 1219 | 1229 |
| 1220 RawAbstractType* MathSqrtInstr::CompileType() const { | 1230 RawAbstractType* MathSqrtInstr::CompileType() const { |
| 1221 return Type::Double(); | 1231 return Type::Double(); |
| 1222 } | 1232 } |
| 1223 | 1233 |
| 1224 | 1234 |
| (...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2053 new_max = new_max.Clamp(); | 2063 new_max = new_max.Clamp(); |
| 2054 } | 2064 } |
| 2055 | 2065 |
| 2056 return Range::Update(&range_, new_min, new_max); | 2066 return Range::Update(&range_, new_min, new_max); |
| 2057 } | 2067 } |
| 2058 | 2068 |
| 2059 | 2069 |
| 2060 #undef __ | 2070 #undef __ |
| 2061 | 2071 |
| 2062 } // namespace dart | 2072 } // namespace dart |
| OLD | NEW |