| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 static void GenerateAllocationStubForClass( | 223 static void GenerateAllocationStubForClass( |
| 224 Assembler* assembler, const Class& cls, | 224 Assembler* assembler, const Class& cls, |
| 225 uword* entry_patch_offset, uword* patch_code_pc_offset); | 225 uword* entry_patch_offset, uword* patch_code_pc_offset); |
| 226 static void GeneratePatchableAllocateArrayStub(Assembler* assembler, | 226 static void GeneratePatchableAllocateArrayStub(Assembler* assembler, |
| 227 uword* entry_patch_offset, uword* patch_code_pc_offset); | 227 uword* entry_patch_offset, uword* patch_code_pc_offset); |
| 228 static void GenerateNArgsCheckInlineCacheStub( | 228 static void GenerateNArgsCheckInlineCacheStub( |
| 229 Assembler* assembler, | 229 Assembler* assembler, |
| 230 intptr_t num_args, | 230 intptr_t num_args, |
| 231 const RuntimeEntry& handle_ic_miss, | 231 const RuntimeEntry& handle_ic_miss, |
| 232 Token::Kind kind, | 232 Token::Kind kind, |
| 233 RangeCollectionMode range_collection_mode); | 233 RangeCollectionMode range_collection_mode, |
| 234 bool optimized = false); |
| 234 static void GenerateUsageCounterIncrement(Assembler* assembler, | 235 static void GenerateUsageCounterIncrement(Assembler* assembler, |
| 235 Register temp_reg); | 236 Register temp_reg); |
| 236 static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler); | 237 static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler); |
| 237 | 238 |
| 238 static void GenerateIdenticalWithNumberCheckStub( | 239 static void GenerateIdenticalWithNumberCheckStub( |
| 239 Assembler* assembler, | 240 Assembler* assembler, |
| 240 const Register left, | 241 const Register left, |
| 241 const Register right, | 242 const Register right, |
| 242 const Register temp1 = kNoRegister, | 243 const Register temp1 = kNoRegister, |
| 243 const Register temp2 = kNoRegister); | 244 const Register temp2 = kNoRegister); |
| 244 }; | 245 }; |
| 245 | 246 |
| 246 } // namespace dart | 247 } // namespace dart |
| 247 | 248 |
| 248 #endif // VM_STUB_CODE_H_ | 249 #endif // VM_STUB_CODE_H_ |
| OLD | NEW |