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

Side by Side Diff: runtime/vm/assembler_arm64.h

Issue 718393005: Enable the profiler on the simulator (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | « no previous file | runtime/vm/isolate.cc » ('j') | runtime/vm/isolate.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef VM_ASSEMBLER_ARM64_H_ 5 #ifndef VM_ASSEMBLER_ARM64_H_
6 #define VM_ASSEMBLER_ARM64_H_ 6 #define VM_ASSEMBLER_ARM64_H_
7 7
8 #ifndef VM_ASSEMBLER_H_ 8 #ifndef VM_ASSEMBLER_H_
9 #error Do not include assembler_arm64.h directly; use assembler.h instead. 9 #error Do not include assembler_arm64.h directly; use assembler.h instead.
10 #endif 10 #endif
(...skipping 1699 matching lines...) Expand 10 before | Expand all | Expand 10 after
1710 } 1710 }
1711 1711
1712 void EmitLoadStoreRegPair(LoadStoreRegPairOp op, 1712 void EmitLoadStoreRegPair(LoadStoreRegPairOp op,
1713 Register rt, Register rt2, Address a, 1713 Register rt, Register rt2, Address a,
1714 OperandSize sz) { 1714 OperandSize sz) {
1715 ASSERT((sz == kDoubleWord) || (sz == kWord) || (sz == kUnsignedWord)); 1715 ASSERT((sz == kDoubleWord) || (sz == kWord) || (sz == kUnsignedWord));
1716 ASSERT((rt != CSP) && (rt != R31)); 1716 ASSERT((rt != CSP) && (rt != R31));
1717 ASSERT((rt2 != CSP) && (rt2 != R31)); 1717 ASSERT((rt2 != CSP) && (rt2 != R31));
1718 const Register crt = ConcreteRegister(rt); 1718 const Register crt = ConcreteRegister(rt);
1719 const Register crt2 = ConcreteRegister(rt2); 1719 const Register crt2 = ConcreteRegister(rt2);
1720 int32_t opc; 1720 int32_t opc = 0;
Cutch 2014/11/14 17:15:30 Fixes Mac compilation error.
1721 switch (sz) { 1721 switch (sz) {
1722 case kDoubleWord: opc = B31; break; 1722 case kDoubleWord: opc = B31; break;
1723 case kWord: opc = B30; break; 1723 case kWord: opc = B30; break;
1724 case kUnsignedWord: opc = 0; break; 1724 case kUnsignedWord: opc = 0; break;
1725 default: UNREACHABLE(); break; 1725 default: UNREACHABLE(); break;
1726 } 1726 }
1727 const int32_t encoding = 1727 const int32_t encoding =
1728 opc | op | 1728 opc | op |
1729 (static_cast<int32_t>(crt) << kRtShift) | 1729 (static_cast<int32_t>(crt) << kRtShift) |
1730 (static_cast<int32_t>(crt2) << kRt2Shift) | 1730 (static_cast<int32_t>(crt2) << kRt2Shift) |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1883 Register value, 1883 Register value,
1884 Label* no_update); 1884 Label* no_update);
1885 1885
1886 DISALLOW_ALLOCATION(); 1886 DISALLOW_ALLOCATION();
1887 DISALLOW_COPY_AND_ASSIGN(Assembler); 1887 DISALLOW_COPY_AND_ASSIGN(Assembler);
1888 }; 1888 };
1889 1889
1890 } // namespace dart 1890 } // namespace dart
1891 1891
1892 #endif // VM_ASSEMBLER_ARM64_H_ 1892 #endif // VM_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/isolate.cc » ('j') | runtime/vm/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698