| OLD | NEW |
| 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" | 5 #include "vm/globals.h" |
| 6 #if defined(TARGET_ARCH_ARM) | 6 #if defined(TARGET_ARCH_ARM) |
| 7 | 7 |
| 8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
| 9 #include "vm/cpu.h" | 9 #include "vm/cpu.h" |
| 10 #include "vm/longjump.h" | 10 #include "vm/longjump.h" |
| (...skipping 2146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2157 } | 2157 } |
| 2158 } | 2158 } |
| 2159 | 2159 |
| 2160 | 2160 |
| 2161 OperandSize Address::OperandSizeFor(intptr_t cid) { | 2161 OperandSize Address::OperandSizeFor(intptr_t cid) { |
| 2162 switch (cid) { | 2162 switch (cid) { |
| 2163 case kArrayCid: | 2163 case kArrayCid: |
| 2164 case kImmutableArrayCid: | 2164 case kImmutableArrayCid: |
| 2165 return kWord; | 2165 return kWord; |
| 2166 case kOneByteStringCid: | 2166 case kOneByteStringCid: |
| 2167 case kExternalOneByteStringCid: |
| 2167 return kByte; | 2168 return kByte; |
| 2168 case kTwoByteStringCid: | 2169 case kTwoByteStringCid: |
| 2170 case kExternalTwoByteStringCid: |
| 2169 return kHalfword; | 2171 return kHalfword; |
| 2170 case kTypedDataInt8ArrayCid: | 2172 case kTypedDataInt8ArrayCid: |
| 2171 return kByte; | 2173 return kByte; |
| 2172 case kTypedDataUint8ArrayCid: | 2174 case kTypedDataUint8ArrayCid: |
| 2173 case kTypedDataUint8ClampedArrayCid: | 2175 case kTypedDataUint8ClampedArrayCid: |
| 2174 case kExternalTypedDataUint8ArrayCid: | 2176 case kExternalTypedDataUint8ArrayCid: |
| 2175 case kExternalTypedDataUint8ClampedArrayCid: | 2177 case kExternalTypedDataUint8ClampedArrayCid: |
| 2176 return kUnsignedByte; | 2178 return kUnsignedByte; |
| 2177 case kTypedDataInt16ArrayCid: | 2179 case kTypedDataInt16ArrayCid: |
| 2178 return kHalfword; | 2180 return kHalfword; |
| (...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3473 | 3475 |
| 3474 | 3476 |
| 3475 const char* Assembler::FpuRegisterName(FpuRegister reg) { | 3477 const char* Assembler::FpuRegisterName(FpuRegister reg) { |
| 3476 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); | 3478 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); |
| 3477 return fpu_reg_names[reg]; | 3479 return fpu_reg_names[reg]; |
| 3478 } | 3480 } |
| 3479 | 3481 |
| 3480 } // namespace dart | 3482 } // namespace dart |
| 3481 | 3483 |
| 3482 #endif // defined TARGET_ARCH_ARM | 3484 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |