| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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_ARM64. | 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64. |
| 6 #if defined(TARGET_ARCH_ARM64) | 6 #if defined(TARGET_ARCH_ARM64) |
| 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 1511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1522 __ Drop(argument_count); | 1522 __ Drop(argument_count); |
| 1523 if (!is_last_check) { | 1523 if (!is_last_check) { |
| 1524 __ b(&match_found); | 1524 __ b(&match_found); |
| 1525 } | 1525 } |
| 1526 __ Bind(&next_test); | 1526 __ Bind(&next_test); |
| 1527 } | 1527 } |
| 1528 __ Bind(&match_found); | 1528 __ Bind(&match_found); |
| 1529 } | 1529 } |
| 1530 | 1530 |
| 1531 | 1531 |
| 1532 Address FlowGraphCompiler::ElementAddressForIntIndex(intptr_t cid, | |
| 1533 intptr_t index_scale, | |
| 1534 Register array, | |
| 1535 intptr_t index) { | |
| 1536 UNREACHABLE(); | |
| 1537 return FieldAddress(array, index); | |
| 1538 } | |
| 1539 | |
| 1540 | |
| 1541 Address FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid, | |
| 1542 intptr_t index_scale, | |
| 1543 Register array, | |
| 1544 Register index) { | |
| 1545 UNREACHABLE(); | |
| 1546 return FieldAddress(array, index); | |
| 1547 } | |
| 1548 | |
| 1549 | |
| 1550 Address FlowGraphCompiler::ExternalElementAddressForIntIndex( | |
| 1551 intptr_t index_scale, | |
| 1552 Register array, | |
| 1553 intptr_t index) { | |
| 1554 UNREACHABLE(); | |
| 1555 return FieldAddress(array, index); | |
| 1556 } | |
| 1557 | |
| 1558 | |
| 1559 Address FlowGraphCompiler::ExternalElementAddressForRegIndex( | |
| 1560 intptr_t index_scale, | |
| 1561 Register array, | |
| 1562 Register index) { | |
| 1563 UNREACHABLE(); | |
| 1564 return FieldAddress(array, index); | |
| 1565 } | |
| 1566 | |
| 1567 | |
| 1568 #undef __ | 1532 #undef __ |
| 1569 #define __ compiler_->assembler()-> | 1533 #define __ compiler_->assembler()-> |
| 1570 | 1534 |
| 1571 | 1535 |
| 1572 void ParallelMoveResolver::EmitMove(int index) { | 1536 void ParallelMoveResolver::EmitMove(int index) { |
| 1573 MoveOperands* move = moves_[index]; | 1537 MoveOperands* move = moves_[index]; |
| 1574 const Location source = move->src(); | 1538 const Location source = move->src(); |
| 1575 const Location destination = move->dest(); | 1539 const Location destination = move->dest(); |
| 1576 | 1540 |
| 1577 if (source.IsRegister()) { | 1541 if (source.IsRegister()) { |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1777 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { | 1741 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { |
| 1778 UNIMPLEMENTED(); | 1742 UNIMPLEMENTED(); |
| 1779 } | 1743 } |
| 1780 | 1744 |
| 1781 | 1745 |
| 1782 #undef __ | 1746 #undef __ |
| 1783 | 1747 |
| 1784 } // namespace dart | 1748 } // namespace dart |
| 1785 | 1749 |
| 1786 #endif // defined TARGET_ARCH_ARM64 | 1750 #endif // defined TARGET_ARCH_ARM64 |
| OLD | NEW |