| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1159 case kTypedDataUint8ArrayCid: | 1159 case kTypedDataUint8ArrayCid: |
| 1160 case kTypedDataUint8ClampedArrayCid: | 1160 case kTypedDataUint8ClampedArrayCid: |
| 1161 case kTypedDataInt16ArrayCid: | 1161 case kTypedDataInt16ArrayCid: |
| 1162 case kTypedDataUint16ArrayCid: | 1162 case kTypedDataUint16ArrayCid: |
| 1163 case kTypedDataInt32ArrayCid: | 1163 case kTypedDataInt32ArrayCid: |
| 1164 case kTypedDataUint32ArrayCid: | 1164 case kTypedDataUint32ArrayCid: |
| 1165 case kTypedDataInt64ArrayCid: | 1165 case kTypedDataInt64ArrayCid: |
| 1166 case kTypedDataUint64ArrayCid: | 1166 case kTypedDataUint64ArrayCid: |
| 1167 case kTypedDataFloat32ArrayCid: | 1167 case kTypedDataFloat32ArrayCid: |
| 1168 case kTypedDataFloat64ArrayCid: | 1168 case kTypedDataFloat64ArrayCid: |
| 1169 case kTypedDataFloat32x4ArrayCid: |
| 1169 return true; | 1170 return true; |
| 1170 default: | 1171 default: |
| 1171 return false; | 1172 return false; |
| 1172 } | 1173 } |
| 1173 } | 1174 } |
| 1174 | 1175 |
| 1175 | 1176 |
| 1176 Definition* ConstantInstr::Canonicalize(FlowGraphOptimizer* optimizer) { | 1177 Definition* ConstantInstr::Canonicalize(FlowGraphOptimizer* optimizer) { |
| 1177 return HasUses() ? this : NULL; | 1178 return HasUses() ? this : NULL; |
| 1178 } | 1179 } |
| (...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2379 default: | 2380 default: |
| 2380 UNREACHABLE(); | 2381 UNREACHABLE(); |
| 2381 } | 2382 } |
| 2382 return kPowRuntimeEntry; | 2383 return kPowRuntimeEntry; |
| 2383 } | 2384 } |
| 2384 | 2385 |
| 2385 | 2386 |
| 2386 #undef __ | 2387 #undef __ |
| 2387 | 2388 |
| 2388 } // namespace dart | 2389 } // namespace dart |
| OLD | NEW |