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

Side by Side Diff: runtime/vm/flow_graph_compiler_mips.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/flow_graph_compiler_arm.cc ('k') | runtime/vm/intermediate_language_arm.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_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 "lib/error.h" 10 #include "lib/error.h"
(...skipping 1658 matching lines...) Expand 10 before | Expand all | Expand 10 after
1669 intptr_t index) { 1669 intptr_t index) {
1670 UNREACHABLE(); 1670 UNREACHABLE();
1671 return FieldAddress(array, index); 1671 return FieldAddress(array, index);
1672 } 1672 }
1673 1673
1674 1674
1675 FieldAddress FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid, 1675 FieldAddress FlowGraphCompiler::ElementAddressForRegIndex(intptr_t cid,
1676 intptr_t index_scale, 1676 intptr_t index_scale,
1677 Register array, 1677 Register array,
1678 Register index) { 1678 Register index) {
1679 UNIMPLEMENTED(); 1679 UNREACHABLE();
1680 return FieldAddress(array, index); 1680 return FieldAddress(array, index);
1681 } 1681 }
1682 1682
1683 1683
1684 Address FlowGraphCompiler::ExternalElementAddressForIntIndex( 1684 Address FlowGraphCompiler::ExternalElementAddressForIntIndex(
1685 intptr_t index_scale, 1685 intptr_t index_scale,
1686 Register array, 1686 Register array,
1687 intptr_t index) { 1687 intptr_t index) {
1688 UNIMPLEMENTED(); 1688 UNREACHABLE();
1689 return FieldAddress(array, index); 1689 return FieldAddress(array, index);
1690 } 1690 }
1691 1691
1692 1692
1693 Address FlowGraphCompiler::ExternalElementAddressForRegIndex( 1693 Address FlowGraphCompiler::ExternalElementAddressForRegIndex(
1694 intptr_t index_scale, 1694 intptr_t index_scale,
1695 Register array, 1695 Register array,
1696 Register index) { 1696 Register index) {
1697 UNIMPLEMENTED(); 1697 UNREACHABLE();
1698 return FieldAddress(array, index); 1698 return FieldAddress(array, index);
1699 } 1699 }
1700 1700
1701 1701
1702 #undef __ 1702 #undef __
1703 #define __ compiler_->assembler()-> 1703 #define __ compiler_->assembler()->
1704 1704
1705 1705
1706 void ParallelMoveResolver::EmitMove(int index) { 1706 void ParallelMoveResolver::EmitMove(int index) {
1707 __ TraceSimMsg("ParallelMoveResolver::EmitMove"); 1707 __ TraceSimMsg("ParallelMoveResolver::EmitMove");
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
1909 __ AddImmediate(SP, kDoubleSize); 1909 __ AddImmediate(SP, kDoubleSize);
1910 } 1910 }
1911 1911
1912 1912
1913 #undef __ 1913 #undef __
1914 1914
1915 1915
1916 } // namespace dart 1916 } // namespace dart
1917 1917
1918 #endif // defined TARGET_ARCH_MIPS 1918 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_arm.cc ('k') | runtime/vm/intermediate_language_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698