| 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 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1198 case Token::kBIT_AND: | 1198 case Token::kBIT_AND: |
| 1199 case Token::kBIT_OR: | 1199 case Token::kBIT_OR: |
| 1200 case Token::kBIT_XOR: | 1200 case Token::kBIT_XOR: |
| 1201 return false; | 1201 return false; |
| 1202 default: | 1202 default: |
| 1203 return overflow_; | 1203 return overflow_; |
| 1204 } | 1204 } |
| 1205 } | 1205 } |
| 1206 | 1206 |
| 1207 | 1207 |
| 1208 RawAbstractType* BinaryMintOpInstr::CompileType() const { | |
| 1209 return Type::MintType(); | |
| 1210 } | |
| 1211 | |
| 1212 | |
| 1213 intptr_t BinaryMintOpInstr::ResultCid() const { | |
| 1214 return kMintCid; | |
| 1215 } | |
| 1216 | |
| 1217 | |
| 1218 RawAbstractType* UnboxedMintBinaryOpInstr::CompileType() const { | 1208 RawAbstractType* UnboxedMintBinaryOpInstr::CompileType() const { |
| 1219 return Type::IntType(); | 1209 return Type::IntType(); |
| 1220 } | 1210 } |
| 1221 | 1211 |
| 1222 | 1212 |
| 1223 intptr_t UnboxedMintBinaryOpInstr::ResultCid() const { | 1213 intptr_t UnboxedMintBinaryOpInstr::ResultCid() const { |
| 1224 return kDynamicCid; | 1214 return kDynamicCid; |
| 1225 } | 1215 } |
| 1226 | 1216 |
| 1227 | 1217 |
| (...skipping 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2066 new_max = new_max.Clamp(); | 2056 new_max = new_max.Clamp(); |
| 2067 } | 2057 } |
| 2068 | 2058 |
| 2069 return Range::Update(&range_, new_min, new_max); | 2059 return Range::Update(&range_, new_min, new_max); |
| 2070 } | 2060 } |
| 2071 | 2061 |
| 2072 | 2062 |
| 2073 #undef __ | 2063 #undef __ |
| 2074 | 2064 |
| 2075 } // namespace dart | 2065 } // namespace dart |
| OLD | NEW |