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

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

Issue 765743003: Support use of external strings as inputs to LoadCodeUnitsInstr. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: safety Created 6 years 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_arm.cc ('k') | runtime/vm/assembler_mips.h » ('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) 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 type_ = Reg; 236 type_ = Reg;
237 base_ = crn; 237 base_ = crn;
238 } 238 }
239 239
240 static OperandSize OperandSizeFor(intptr_t cid) { 240 static OperandSize OperandSizeFor(intptr_t cid) {
241 switch (cid) { 241 switch (cid) {
242 case kArrayCid: 242 case kArrayCid:
243 case kImmutableArrayCid: 243 case kImmutableArrayCid:
244 return kWord; 244 return kWord;
245 case kOneByteStringCid: 245 case kOneByteStringCid:
246 case kExternalOneByteStringCid:
246 return kByte; 247 return kByte;
247 case kTwoByteStringCid: 248 case kTwoByteStringCid:
249 case kExternalTwoByteStringCid:
248 return kHalfword; 250 return kHalfword;
249 case kTypedDataInt8ArrayCid: 251 case kTypedDataInt8ArrayCid:
250 return kByte; 252 return kByte;
251 case kTypedDataUint8ArrayCid: 253 case kTypedDataUint8ArrayCid:
252 case kTypedDataUint8ClampedArrayCid: 254 case kTypedDataUint8ClampedArrayCid:
253 case kExternalTypedDataUint8ArrayCid: 255 case kExternalTypedDataUint8ArrayCid:
254 case kExternalTypedDataUint8ClampedArrayCid: 256 case kExternalTypedDataUint8ClampedArrayCid:
255 return kUnsignedByte; 257 return kUnsignedByte;
256 case kTypedDataInt16ArrayCid: 258 case kTypedDataInt16ArrayCid:
257 return kHalfword; 259 return kHalfword;
(...skipping 1693 matching lines...) Expand 10 before | Expand all | Expand 10 after
1951 Register value, 1953 Register value,
1952 Label* no_update); 1954 Label* no_update);
1953 1955
1954 DISALLOW_ALLOCATION(); 1956 DISALLOW_ALLOCATION();
1955 DISALLOW_COPY_AND_ASSIGN(Assembler); 1957 DISALLOW_COPY_AND_ASSIGN(Assembler);
1956 }; 1958 };
1957 1959
1958 } // namespace dart 1960 } // namespace dart
1959 1961
1960 #endif // VM_ASSEMBLER_ARM64_H_ 1962 #endif // VM_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm.cc ('k') | runtime/vm/assembler_mips.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698