| 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/globals.h" // Needed here to get TARGET_ARCH_XXX. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_XXX. |
| 6 | 6 |
| 7 #include "vm/flow_graph_compiler.h" | 7 #include "vm/flow_graph_compiler.h" |
| 8 | 8 |
| 9 #include "vm/bit_vector.h" | 9 #include "vm/bit_vector.h" |
| 10 #include "vm/cha.h" | 10 #include "vm/cha.h" |
| (...skipping 1642 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1653 const Class& FlowGraphCompiler::BoxClassFor(Representation rep) { | 1653 const Class& FlowGraphCompiler::BoxClassFor(Representation rep) { |
| 1654 switch (rep) { | 1654 switch (rep) { |
| 1655 case kUnboxedDouble: | 1655 case kUnboxedDouble: |
| 1656 return double_class(); | 1656 return double_class(); |
| 1657 case kUnboxedFloat32x4: | 1657 case kUnboxedFloat32x4: |
| 1658 return float32x4_class(); | 1658 return float32x4_class(); |
| 1659 case kUnboxedFloat64x2: | 1659 case kUnboxedFloat64x2: |
| 1660 return float64x2_class(); | 1660 return float64x2_class(); |
| 1661 case kUnboxedInt32x4: | 1661 case kUnboxedInt32x4: |
| 1662 return int32x4_class(); | 1662 return int32x4_class(); |
| 1663 case kUnboxedMint: | 1663 case kUnboxedInt64: |
| 1664 return mint_class(); | 1664 return mint_class(); |
| 1665 default: | 1665 default: |
| 1666 UNREACHABLE(); | 1666 UNREACHABLE(); |
| 1667 return Class::ZoneHandle(); | 1667 return Class::ZoneHandle(); |
| 1668 } | 1668 } |
| 1669 } | 1669 } |
| 1670 | 1670 |
| 1671 void FlowGraphCompiler::BeginCodeSourceRange() { | 1671 void FlowGraphCompiler::BeginCodeSourceRange() { |
| 1672 code_source_map_builder_->BeginCodeSourceRange(assembler()->CodeSize()); | 1672 code_source_map_builder_->BeginCodeSourceRange(assembler()->CodeSize()); |
| 1673 } | 1673 } |
| (...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1945 return true; | 1945 return true; |
| 1946 } | 1946 } |
| 1947 | 1947 |
| 1948 void FlowGraphCompiler::FrameStateClear() { | 1948 void FlowGraphCompiler::FrameStateClear() { |
| 1949 ASSERT(!is_optimizing()); | 1949 ASSERT(!is_optimizing()); |
| 1950 frame_state_.TruncateTo(0); | 1950 frame_state_.TruncateTo(0); |
| 1951 } | 1951 } |
| 1952 #endif // defined(DEBUG) && !defined(TARGET_ARCH_DBC) | 1952 #endif // defined(DEBUG) && !defined(TARGET_ARCH_DBC) |
| 1953 | 1953 |
| 1954 } // namespace dart | 1954 } // namespace dart |
| OLD | NEW |