Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(751)

Side by Side Diff: runtime/vm/flow_graph_compiler_arm64.cc

Issue 294223003: Last cross-platform cleanup in preparation of improved ARM code for indexed (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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, 1532 Address FlowGraphCompiler::ElementAddressForIntIndex(bool is_load,
1533 bool is_external,
1534 intptr_t cid,
1533 intptr_t index_scale, 1535 intptr_t index_scale,
1534 Register array, 1536 Register array,
1535 intptr_t index) { 1537 intptr_t index) {
1536 UNREACHABLE(); 1538 UNREACHABLE();
1537 return FieldAddress(array, index); 1539 return FieldAddress(array, index);
1538 } 1540 }
1539 1541
1540 1542
1541 Address FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid, 1543 Address FlowGraphCompiler::ElementAddressForRegIndex(bool is_load,
1544 bool is_external,
1545 intptr_t cid,
1542 intptr_t index_scale, 1546 intptr_t index_scale,
1543 Register array, 1547 Register array,
1544 Register index) { 1548 Register index) {
1545 UNREACHABLE(); 1549 UNREACHABLE();
1546 return FieldAddress(array, index); 1550 return FieldAddress(array, index);
1547 } 1551 }
1548 1552
1549 1553
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 __ 1554 #undef __
1569 #define __ compiler_->assembler()-> 1555 #define __ compiler_->assembler()->
1570 1556
1571 1557
1572 void ParallelMoveResolver::EmitMove(int index) { 1558 void ParallelMoveResolver::EmitMove(int index) {
1573 MoveOperands* move = moves_[index]; 1559 MoveOperands* move = moves_[index];
1574 const Location source = move->src(); 1560 const Location source = move->src();
1575 const Location destination = move->dest(); 1561 const Location destination = move->dest();
1576 1562
1577 if (source.IsRegister()) { 1563 if (source.IsRegister()) {
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1763 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1778 UNIMPLEMENTED(); 1764 UNIMPLEMENTED();
1779 } 1765 }
1780 1766
1781 1767
1782 #undef __ 1768 #undef __
1783 1769
1784 } // namespace dart 1770 } // namespace dart
1785 1771
1786 #endif // defined TARGET_ARCH_ARM64 1772 #endif // defined TARGET_ARCH_ARM64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698