| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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_STUB_CODE_H_ | 5 #ifndef VM_STUB_CODE_H_ |
| 6 #define VM_STUB_CODE_H_ | 6 #define VM_STUB_CODE_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 | 10 |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 static void GenerateAllocationStubForClass( | 224 static void GenerateAllocationStubForClass( |
| 225 Assembler* assembler, const Class& cls, | 225 Assembler* assembler, const Class& cls, |
| 226 uword* entry_patch_offset, uword* patch_code_pc_offset); | 226 uword* entry_patch_offset, uword* patch_code_pc_offset); |
| 227 static void GeneratePatchableAllocateArrayStub(Assembler* assembler, | 227 static void GeneratePatchableAllocateArrayStub(Assembler* assembler, |
| 228 uword* entry_patch_offset, uword* patch_code_pc_offset); | 228 uword* entry_patch_offset, uword* patch_code_pc_offset); |
| 229 static void GenerateNArgsCheckInlineCacheStub( | 229 static void GenerateNArgsCheckInlineCacheStub( |
| 230 Assembler* assembler, | 230 Assembler* assembler, |
| 231 intptr_t num_args, | 231 intptr_t num_args, |
| 232 const RuntimeEntry& handle_ic_miss, | 232 const RuntimeEntry& handle_ic_miss, |
| 233 Token::Kind kind, | 233 Token::Kind kind, |
| 234 RangeCollectionMode range_collection_mode); | 234 RangeCollectionMode range_collection_mode, |
| 235 bool optimized = false); |
| 235 static void GenerateUsageCounterIncrement(Assembler* assembler, | 236 static void GenerateUsageCounterIncrement(Assembler* assembler, |
| 236 Register temp_reg); | 237 Register temp_reg); |
| 237 static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler); | 238 static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler); |
| 238 | 239 |
| 239 static void GenerateIdenticalWithNumberCheckStub( | 240 static void GenerateIdenticalWithNumberCheckStub( |
| 240 Assembler* assembler, | 241 Assembler* assembler, |
| 241 const Register left, | 242 const Register left, |
| 242 const Register right, | 243 const Register right, |
| 243 const Register temp1 = kNoRegister, | 244 const Register temp1 = kNoRegister, |
| 244 const Register temp2 = kNoRegister); | 245 const Register temp2 = kNoRegister); |
| 245 }; | 246 }; |
| 246 | 247 |
| 247 } // namespace dart | 248 } // namespace dart |
| 248 | 249 |
| 249 #endif // VM_STUB_CODE_H_ | 250 #endif // VM_STUB_CODE_H_ |
| OLD | NEW |