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

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

Issue 1248113003: VM: Fix more places with isolate embedded into unoptimized code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: minor cleanup in stub_code* Created 5 years, 5 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
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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 static void GenerateNArgsCheckInlineCacheStub( 217 static void GenerateNArgsCheckInlineCacheStub(
218 Assembler* assembler, 218 Assembler* assembler,
219 intptr_t num_args, 219 intptr_t num_args,
220 const RuntimeEntry& handle_ic_miss, 220 const RuntimeEntry& handle_ic_miss,
221 Token::Kind kind, 221 Token::Kind kind,
222 RangeCollectionMode range_collection_mode, 222 RangeCollectionMode range_collection_mode,
223 bool optimized = false); 223 bool optimized = false);
224 static void GenerateUsageCounterIncrement(Assembler* assembler, 224 static void GenerateUsageCounterIncrement(Assembler* assembler,
225 Register temp_reg); 225 Register temp_reg);
226 static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler); 226 static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler);
227
228 static void GenerateIdenticalWithNumberCheckStub(
229 Assembler* assembler,
230 const Register left,
231 const Register right,
232 const Register temp1 = kNoRegister,
233 const Register temp2 = kNoRegister);
234 }; 227 };
235 228
236 } // namespace dart 229 } // namespace dart
237 230
238 #endif // VM_STUB_CODE_H_ 231 #endif // VM_STUB_CODE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698