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_MIPS. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_MIPS. |
6 #if defined(TARGET_ARCH_MIPS) | 6 #if defined(TARGET_ARCH_MIPS) |
7 | 7 |
8 #include "vm/flow_graph_compiler.h" | 8 #include "vm/flow_graph_compiler.h" |
9 | 9 |
10 #include "vm/ast_printer.h" | 10 #include "vm/ast_printer.h" |
(...skipping 1579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 __ Drop(argument_count); | 1590 __ Drop(argument_count); |
1591 if (!is_last_check) { | 1591 if (!is_last_check) { |
1592 __ b(&match_found); | 1592 __ b(&match_found); |
1593 } | 1593 } |
1594 __ Bind(&next_test); | 1594 __ Bind(&next_test); |
1595 } | 1595 } |
1596 __ Bind(&match_found); | 1596 __ Bind(&match_found); |
1597 } | 1597 } |
1598 | 1598 |
1599 | 1599 |
1600 Address FlowGraphCompiler::ElementAddressForIntIndex(intptr_t cid, | |
1601 intptr_t index_scale, | |
1602 Register array, | |
1603 intptr_t index) { | |
1604 UNREACHABLE(); | |
1605 return FieldAddress(array, index); | |
1606 } | |
1607 | |
1608 | |
1609 Address FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid, | |
1610 intptr_t index_scale, | |
1611 Register array, | |
1612 Register index) { | |
1613 UNREACHABLE(); | |
1614 return FieldAddress(array, index); | |
1615 } | |
1616 | |
1617 | |
1618 Address FlowGraphCompiler::ExternalElementAddressForIntIndex( | |
1619 intptr_t index_scale, | |
1620 Register array, | |
1621 intptr_t index) { | |
1622 UNREACHABLE(); | |
1623 return FieldAddress(array, index); | |
1624 } | |
1625 | |
1626 | |
1627 Address FlowGraphCompiler::ExternalElementAddressForRegIndex( | |
1628 intptr_t index_scale, | |
1629 Register array, | |
1630 Register index) { | |
1631 UNREACHABLE(); | |
1632 return FieldAddress(array, index); | |
1633 } | |
1634 | |
1635 | |
1636 #undef __ | 1600 #undef __ |
1637 #define __ compiler_->assembler()-> | 1601 #define __ compiler_->assembler()-> |
1638 | 1602 |
1639 | 1603 |
1640 void ParallelMoveResolver::EmitMove(int index) { | 1604 void ParallelMoveResolver::EmitMove(int index) { |
1641 MoveOperands* move = moves_[index]; | 1605 MoveOperands* move = moves_[index]; |
1642 const Location source = move->src(); | 1606 const Location source = move->src(); |
1643 const Location destination = move->dest(); | 1607 const Location destination = move->dest(); |
1644 __ TraceSimMsg("ParallelMoveResolver::EmitMove"); | 1608 __ TraceSimMsg("ParallelMoveResolver::EmitMove"); |
1645 | 1609 |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1865 __ AddImmediate(SP, kDoubleSize); | 1829 __ AddImmediate(SP, kDoubleSize); |
1866 } | 1830 } |
1867 | 1831 |
1868 | 1832 |
1869 #undef __ | 1833 #undef __ |
1870 | 1834 |
1871 | 1835 |
1872 } // namespace dart | 1836 } // namespace dart |
1873 | 1837 |
1874 #endif // defined TARGET_ARCH_MIPS | 1838 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |