| 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 1509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1520 __ Drop(argument_count); | 1520 __ Drop(argument_count); |
| 1521 if (!is_last_check) { | 1521 if (!is_last_check) { |
| 1522 __ b(&match_found); | 1522 __ b(&match_found); |
| 1523 } | 1523 } |
| 1524 __ Bind(&next_test); | 1524 __ Bind(&next_test); |
| 1525 } | 1525 } |
| 1526 __ Bind(&match_found); | 1526 __ Bind(&match_found); |
| 1527 } | 1527 } |
| 1528 | 1528 |
| 1529 | 1529 |
| 1530 // Do not implement or use this function. | 1530 Address FlowGraphCompiler::ElementAddressForIntIndex(intptr_t cid, |
| 1531 FieldAddress FlowGraphCompiler::ElementAddressForIntIndex(intptr_t cid, | 1531 intptr_t index_scale, |
| 1532 intptr_t index_scale, | 1532 Register array, |
| 1533 Register array, | 1533 intptr_t index) { |
| 1534 intptr_t index) { | |
| 1535 UNREACHABLE(); | 1534 UNREACHABLE(); |
| 1536 return FieldAddress(array, index); | 1535 return FieldAddress(array, index); |
| 1537 } | 1536 } |
| 1538 | 1537 |
| 1539 | 1538 |
| 1540 // Do not implement or use this function. | 1539 Address FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid, |
| 1541 FieldAddress FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid, | 1540 intptr_t index_scale, |
| 1542 intptr_t index_scale, | 1541 Register array, |
| 1543 Register array, | 1542 Register index) { |
| 1544 Register index) { | 1543 UNREACHABLE(); |
| 1545 UNREACHABLE(); // No register indexed with offset addressing mode on ARM. | |
| 1546 return FieldAddress(array, index); | 1544 return FieldAddress(array, index); |
| 1547 } | 1545 } |
| 1548 | 1546 |
| 1549 | 1547 |
| 1550 Address FlowGraphCompiler::ExternalElementAddressForIntIndex( | 1548 Address FlowGraphCompiler::ExternalElementAddressForIntIndex( |
| 1551 intptr_t index_scale, | 1549 intptr_t index_scale, |
| 1552 Register array, | 1550 Register array, |
| 1553 intptr_t index) { | 1551 intptr_t index) { |
| 1554 UNREACHABLE(); | 1552 UNREACHABLE(); |
| 1555 return FieldAddress(array, index); | 1553 return FieldAddress(array, index); |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1777 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { | 1775 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { |
| 1778 UNIMPLEMENTED(); | 1776 UNIMPLEMENTED(); |
| 1779 } | 1777 } |
| 1780 | 1778 |
| 1781 | 1779 |
| 1782 #undef __ | 1780 #undef __ |
| 1783 | 1781 |
| 1784 } // namespace dart | 1782 } // namespace dart |
| 1785 | 1783 |
| 1786 #endif // defined TARGET_ARCH_ARM64 | 1784 #endif // defined TARGET_ARCH_ARM64 |
| OLD | NEW |