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 FieldAddress FlowGraphCompiler::ElementAddressForIntIndex(intptr_t cid, | 1600 Address FlowGraphCompiler::ElementAddressForIntIndex(intptr_t cid, |
1601 intptr_t index_scale, | 1601 intptr_t index_scale, |
1602 Register array, | 1602 Register array, |
1603 intptr_t index) { | 1603 intptr_t index) { |
1604 UNREACHABLE(); | 1604 UNREACHABLE(); |
1605 return FieldAddress(array, index); | 1605 return FieldAddress(array, index); |
1606 } | 1606 } |
1607 | 1607 |
1608 | 1608 |
1609 FieldAddress FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid, | 1609 Address FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid, |
1610 intptr_t index_scale, | 1610 intptr_t index_scale, |
1611 Register array, | 1611 Register array, |
1612 Register index) { | 1612 Register index) { |
1613 UNREACHABLE(); | 1613 UNREACHABLE(); |
1614 return FieldAddress(array, index); | 1614 return FieldAddress(array, index); |
1615 } | 1615 } |
1616 | 1616 |
1617 | 1617 |
1618 Address FlowGraphCompiler::ExternalElementAddressForIntIndex( | 1618 Address FlowGraphCompiler::ExternalElementAddressForIntIndex( |
1619 intptr_t index_scale, | 1619 intptr_t index_scale, |
1620 Register array, | 1620 Register array, |
1621 intptr_t index) { | 1621 intptr_t index) { |
1622 UNREACHABLE(); | 1622 UNREACHABLE(); |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1865 __ AddImmediate(SP, kDoubleSize); | 1865 __ AddImmediate(SP, kDoubleSize); |
1866 } | 1866 } |
1867 | 1867 |
1868 | 1868 |
1869 #undef __ | 1869 #undef __ |
1870 | 1870 |
1871 | 1871 |
1872 } // namespace dart | 1872 } // namespace dart |
1873 | 1873 |
1874 #endif // defined TARGET_ARCH_MIPS | 1874 #endif // defined TARGET_ARCH_MIPS |
OLD | NEW |