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

Side by Side Diff: runtime/vm/intrinsifier_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/intrinsifier_arm.cc ('k') | tests/co19/co19-runtime.status » ('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/intrinsifier.h" 8 #include "vm/intrinsifier.h"
9 9
10 #include "vm/assembler.h" 10 #include "vm/assembler.h"
(...skipping 1472 matching lines...) Expand 10 before | Expand all | Expand 10 after
1483 __ Ret(); 1483 __ Ret();
1484 __ Bind(&is_true); 1484 __ Bind(&is_true);
1485 __ LoadObject(V0, Bool::True()); 1485 __ LoadObject(V0, Bool::True());
1486 __ Ret(); 1486 __ Ret();
1487 return true; 1487 return true;
1488 } 1488 }
1489 1489
1490 1490
1491 bool Intrinsifier::String_getHashCode(Assembler* assembler) { 1491 bool Intrinsifier::String_getHashCode(Assembler* assembler) {
1492 Label fall_through; 1492 Label fall_through;
1493 __ Untested("Intrinsifier::String_getHashCode");
1494 __ lw(T0, Address(SP, 0 * kWordSize)); 1493 __ lw(T0, Address(SP, 0 * kWordSize));
1495 __ lw(V0, FieldAddress(T0, String::hash_offset())); 1494 __ lw(V0, FieldAddress(T0, String::hash_offset()));
1496 __ beq(V0, ZR, &fall_through); 1495 __ beq(V0, ZR, &fall_through);
1497 __ Ret(); 1496 __ Ret();
1498 __ Bind(&fall_through); // Hash not yet computed. 1497 __ Bind(&fall_through); // Hash not yet computed.
1499 return false; 1498 return false;
1500 } 1499 }
1501 1500
1502 1501
1503 bool Intrinsifier::String_getLength(Assembler* assembler) { 1502 bool Intrinsifier::String_getLength(Assembler* assembler) {
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 __ Bind(&ok); 1776 __ Bind(&ok);
1778 __ Ret(); 1777 __ Ret();
1779 1778
1780 __ Bind(&fall_through); 1779 __ Bind(&fall_through);
1781 return false; 1780 return false;
1782 } 1781 }
1783 1782
1784 } // namespace dart 1783 } // namespace dart
1785 1784
1786 #endif // defined TARGET_ARCH_MIPS 1785 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/intrinsifier_arm.cc ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698