| 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_ARM. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. |
| 6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
| 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 1518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1529 __ Drop(argument_count); | 1529 __ Drop(argument_count); |
| 1530 if (!is_last_check) { | 1530 if (!is_last_check) { |
| 1531 assembler()->b(&match_found); | 1531 assembler()->b(&match_found); |
| 1532 } | 1532 } |
| 1533 assembler()->Bind(&next_test); | 1533 assembler()->Bind(&next_test); |
| 1534 } | 1534 } |
| 1535 assembler()->Bind(&match_found); | 1535 assembler()->Bind(&match_found); |
| 1536 } | 1536 } |
| 1537 | 1537 |
| 1538 | 1538 |
| 1539 Address FlowGraphCompiler::ElementAddressForIntIndex(intptr_t cid, | 1539 Address FlowGraphCompiler::ElementAddressForIntIndex(bool is_load, |
| 1540 bool is_external, |
| 1541 intptr_t cid, |
| 1540 intptr_t index_scale, | 1542 intptr_t index_scale, |
| 1541 Register array, | 1543 Register array, |
| 1542 intptr_t index) { | 1544 intptr_t index) { |
| 1543 UNREACHABLE(); | 1545 UNREACHABLE(); |
| 1544 return FieldAddress(array, index); | 1546 return FieldAddress(array, index); |
| 1545 } | 1547 } |
| 1546 | 1548 |
| 1547 | 1549 |
| 1548 Address FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid, | 1550 Address FlowGraphCompiler::ElementAddressForRegIndex(bool is_load, |
| 1551 bool is_external, |
| 1552 intptr_t cid, |
| 1549 intptr_t index_scale, | 1553 intptr_t index_scale, |
| 1550 Register array, | 1554 Register array, |
| 1551 Register index) { | 1555 Register index) { |
| 1552 UNREACHABLE(); | 1556 UNREACHABLE(); |
| 1553 return FieldAddress(array, index); | 1557 return FieldAddress(array, index); |
| 1554 } | 1558 } |
| 1555 | 1559 |
| 1556 | 1560 |
| 1557 Address FlowGraphCompiler::ExternalElementAddressForIntIndex( | |
| 1558 intptr_t index_scale, | |
| 1559 Register array, | |
| 1560 intptr_t index) { | |
| 1561 UNREACHABLE(); | |
| 1562 return FieldAddress(array, index); | |
| 1563 } | |
| 1564 | |
| 1565 | |
| 1566 Address FlowGraphCompiler::ExternalElementAddressForRegIndex( | |
| 1567 intptr_t index_scale, | |
| 1568 Register array, | |
| 1569 Register index) { | |
| 1570 UNREACHABLE(); | |
| 1571 return FieldAddress(array, index); | |
| 1572 } | |
| 1573 | |
| 1574 | |
| 1575 #undef __ | 1561 #undef __ |
| 1576 #define __ compiler_->assembler()-> | 1562 #define __ compiler_->assembler()-> |
| 1577 | 1563 |
| 1578 | 1564 |
| 1579 void ParallelMoveResolver::EmitMove(int index) { | 1565 void ParallelMoveResolver::EmitMove(int index) { |
| 1580 MoveOperands* move = moves_[index]; | 1566 MoveOperands* move = moves_[index]; |
| 1581 const Location source = move->src(); | 1567 const Location source = move->src(); |
| 1582 const Location destination = move->dest(); | 1568 const Location destination = move->dest(); |
| 1583 | 1569 |
| 1584 if (source.IsRegister()) { | 1570 if (source.IsRegister()) { |
| (...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1817 DRegister dreg = EvenDRegisterOf(reg); | 1803 DRegister dreg = EvenDRegisterOf(reg); |
| 1818 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); | 1804 __ vldrd(dreg, Address(SP, kDoubleSize, Address::PostIndex)); |
| 1819 } | 1805 } |
| 1820 | 1806 |
| 1821 | 1807 |
| 1822 #undef __ | 1808 #undef __ |
| 1823 | 1809 |
| 1824 } // namespace dart | 1810 } // namespace dart |
| 1825 | 1811 |
| 1826 #endif // defined TARGET_ARCH_ARM | 1812 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |