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

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

Issue 17907005: Implements external array access for mips. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 5 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
« no previous file with comments | « runtime/vm/assembler_mips.h ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "lib/error.h" 10 #include "lib/error.h"
(...skipping 1548 matching lines...) Expand 10 before | Expand all | Expand 10 after
1559 Register index) { 1559 Register index) {
1560 UNREACHABLE(); // No register indexed with offset addressing mode on ARM. 1560 UNREACHABLE(); // No register indexed with offset addressing mode on ARM.
1561 return FieldAddress(array, index); 1561 return FieldAddress(array, index);
1562 } 1562 }
1563 1563
1564 1564
1565 Address FlowGraphCompiler::ExternalElementAddressForIntIndex( 1565 Address FlowGraphCompiler::ExternalElementAddressForIntIndex(
1566 intptr_t index_scale, 1566 intptr_t index_scale,
1567 Register array, 1567 Register array,
1568 intptr_t index) { 1568 intptr_t index) {
1569 UNIMPLEMENTED(); 1569 UNREACHABLE();
1570 return FieldAddress(array, index); 1570 return FieldAddress(array, index);
1571 } 1571 }
1572 1572
1573 1573
1574 Address FlowGraphCompiler::ExternalElementAddressForRegIndex( 1574 Address FlowGraphCompiler::ExternalElementAddressForRegIndex(
1575 intptr_t index_scale, 1575 intptr_t index_scale,
1576 Register array, 1576 Register array,
1577 Register index) { 1577 Register index) {
1578 UNIMPLEMENTED(); 1578 UNREACHABLE();
1579 return FieldAddress(array, index); 1579 return FieldAddress(array, index);
1580 } 1580 }
1581 1581
1582 1582
1583 #undef __ 1583 #undef __
1584 #define __ compiler_->assembler()-> 1584 #define __ compiler_->assembler()->
1585 1585
1586 1586
1587 void ParallelMoveResolver::EmitMove(int index) { 1587 void ParallelMoveResolver::EmitMove(int index) {
1588 MoveOperands* move = moves_[index]; 1588 MoveOperands* move = moves_[index];
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
1762 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) { 1762 void ParallelMoveResolver::RestoreFpuScratch(FpuRegister reg) {
1763 __ vldrd(reg, Address(SP, kDoubleSize, Address::PostIndex)); 1763 __ vldrd(reg, Address(SP, kDoubleSize, Address::PostIndex));
1764 } 1764 }
1765 1765
1766 1766
1767 #undef __ 1767 #undef __
1768 1768
1769 } // namespace dart 1769 } // namespace dart
1770 1770
1771 #endif // defined TARGET_ARCH_ARM 1771 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/assembler_mips.h ('k') | runtime/vm/flow_graph_compiler_mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698