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

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: a 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') | no next file with comments »
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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698