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

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

Issue 1145063003: Do not emit debug check in optimized IC stubs (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 months 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
« no previous file with comments | « no previous file | runtime/vm/stub_code_arm.cc » ('j') | runtime/vm/stub_code_mips.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/stub_code_arm.cc » ('j') | runtime/vm/stub_code_mips.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698