| OLD | NEW |
| 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 #include "vm/globals.h" | 5 #include "vm/globals.h" |
| 6 #if defined(TARGET_ARCH_ARM64) | 6 #if defined(TARGET_ARCH_ARM64) |
| 7 | 7 |
| 8 #include "vm/assembler.h" | 8 #include "vm/assembler.h" |
| 9 #include "vm/code_generator.h" | 9 #include "vm/code_generator.h" |
| 10 #include "vm/compiler.h" | 10 #include "vm/compiler.h" |
| (...skipping 1242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1253 Assembler* assembler) { | 1253 Assembler* assembler) { |
| 1254 __ Stop("GenerateThreeArgsOptimizedCheckInlineCacheStub"); | 1254 __ Stop("GenerateThreeArgsOptimizedCheckInlineCacheStub"); |
| 1255 } | 1255 } |
| 1256 | 1256 |
| 1257 | 1257 |
| 1258 void StubCode::GenerateClosureCallInlineCacheStub(Assembler* assembler) { | 1258 void StubCode::GenerateClosureCallInlineCacheStub(Assembler* assembler) { |
| 1259 __ Stop("GenerateClosureCallInlineCacheStub"); | 1259 __ Stop("GenerateClosureCallInlineCacheStub"); |
| 1260 } | 1260 } |
| 1261 | 1261 |
| 1262 | 1262 |
| 1263 void StubCode::GenerateMegamorphicCallStub(Assembler* assembler) { | |
| 1264 __ Stop("GenerateMegamorphicCallStub"); | |
| 1265 } | |
| 1266 | |
| 1267 | |
| 1268 void StubCode::GenerateZeroArgsUnoptimizedStaticCallStub(Assembler* assembler) { | 1263 void StubCode::GenerateZeroArgsUnoptimizedStaticCallStub(Assembler* assembler) { |
| 1269 GenerateUsageCounterIncrement(assembler, R6); | 1264 GenerateUsageCounterIncrement(assembler, R6); |
| 1270 #if defined(DEBUG) | 1265 #if defined(DEBUG) |
| 1271 { Label ok; | 1266 { Label ok; |
| 1272 // Check that the IC data array has NumArgsTested() == 0. | 1267 // Check that the IC data array has NumArgsTested() == 0. |
| 1273 // 'NumArgsTested' is stored in the least significant bits of 'state_bits'. | 1268 // 'NumArgsTested' is stored in the least significant bits of 'state_bits'. |
| 1274 __ LoadFromOffset(R6, R5, ICData::state_bits_offset() - kHeapObjectTag, | 1269 __ LoadFromOffset(R6, R5, ICData::state_bits_offset() - kHeapObjectTag, |
| 1275 kUnsignedWord); | 1270 kUnsignedWord); |
| 1276 ASSERT(ICData::NumArgsTestedShift() == 0); // No shift needed. | 1271 ASSERT(ICData::NumArgsTestedShift() == 0); // No shift needed. |
| 1277 __ andi(R6, R6, ICData::NumArgsTestedMask()); | 1272 __ andi(R6, R6, ICData::NumArgsTestedMask()); |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1504 | 1499 |
| 1505 | 1500 |
| 1506 void StubCode::GenerateOptimizedIdenticalWithNumberCheckStub( | 1501 void StubCode::GenerateOptimizedIdenticalWithNumberCheckStub( |
| 1507 Assembler* assembler) { | 1502 Assembler* assembler) { |
| 1508 __ Stop("GenerateOptimizedIdenticalWithNumberCheckStub"); | 1503 __ Stop("GenerateOptimizedIdenticalWithNumberCheckStub"); |
| 1509 } | 1504 } |
| 1510 | 1505 |
| 1511 } // namespace dart | 1506 } // namespace dart |
| 1512 | 1507 |
| 1513 #endif // defined TARGET_ARCH_ARM64 | 1508 #endif // defined TARGET_ARCH_ARM64 |
| OLD | NEW |