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

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

Issue 221173011: Simplify handling of IC and megamorphic cache misses. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased Created 6 years, 8 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 | Annotate | Revision Log
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
11 namespace dart { 11 namespace dart {
12 12
13 // Forward declarations. 13 // Forward declarations.
14 class Code; 14 class Code;
15 class Isolate; 15 class Isolate;
16 class ObjectPointerVisitor; 16 class ObjectPointerVisitor;
17 class RawCode; 17 class RawCode;
18 18
19 19
20 // List of stubs created in the VM isolate, these stubs are shared by different 20 // List of stubs created in the VM isolate, these stubs are shared by different
21 // isolates running in this dart process. 21 // isolates running in this dart process.
22 #define VM_STUB_CODE_LIST(V) \ 22 #define VM_STUB_CODE_LIST(V) \
23 V(PrintStopMessage) \ 23 V(PrintStopMessage) \
24 V(CallToRuntime) \ 24 V(CallToRuntime) \
25 V(LazyCompile) \ 25 V(LazyCompile) \
26 V(CallBootstrapCFunction) \ 26 V(CallBootstrapCFunction) \
27 V(CallNativeCFunction) \ 27 V(CallNativeCFunction) \
28 V(AllocateArray) \ 28 V(AllocateArray) \
29 V(CallNoSuchMethodFunction) \ 29 V(CallNoSuchMethodFunction) \
30 V(InstanceFunctionLookup) \
31 V(CallStaticFunction) \ 30 V(CallStaticFunction) \
32 V(CallClosureFunction) \ 31 V(CallClosureFunction) \
33 V(FixCallersTarget) \ 32 V(FixCallersTarget) \
34 V(Deoptimize) \ 33 V(Deoptimize) \
35 V(DeoptimizeLazy) \ 34 V(DeoptimizeLazy) \
36 V(BreakpointRuntime) \ 35 V(BreakpointRuntime) \
37 V(DebugStepCheck) \ 36 V(DebugStepCheck) \
38 V(Subtype1TestCache) \ 37 V(Subtype1TestCache) \
39 V(Subtype2TestCache) \ 38 V(Subtype2TestCache) \
40 V(Subtype3TestCache) \ 39 V(Subtype3TestCache) \
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 Assembler* assembler, 203 Assembler* assembler,
205 const Register left, 204 const Register left,
206 const Register right, 205 const Register right,
207 const Register temp1 = kNoRegister, 206 const Register temp1 = kNoRegister,
208 const Register temp2 = kNoRegister); 207 const Register temp2 = kNoRegister);
209 }; 208 };
210 209
211 } // namespace dart 210 } // namespace dart
212 211
213 #endif // VM_STUB_CODE_H_ 212 #endif // VM_STUB_CODE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698