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

Side by Side Diff: vm/stub_code.h

Issue 10542123: Add support for leaf runtime calls (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 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 | 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(CallToRuntime) \ 23 V(CallToRuntime) \
24 V(CallToLeafRuntime) \
24 V(PrintStopMessage) \ 25 V(PrintStopMessage) \
25 V(CallNativeCFunction) \ 26 V(CallNativeCFunction) \
26 V(AllocateArray) \ 27 V(AllocateArray) \
27 V(CallNoSuchMethodFunction) \ 28 V(CallNoSuchMethodFunction) \
28 V(MegamorphicLookup) \ 29 V(MegamorphicLookup) \
29 V(CallStaticFunction) \ 30 V(CallStaticFunction) \
30 V(CallClosureFunction) \ 31 V(CallClosureFunction) \
31 V(FixCallersTarget) \ 32 V(FixCallersTarget) \
32 V(Deoptimize) \ 33 V(Deoptimize) \
33 V(BreakpointStatic) \ 34 V(BreakpointStatic) \
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 const Class& cls); 176 const Class& cls);
176 static void GenerateAllocationStubForClosure(Assembler* assembler, 177 static void GenerateAllocationStubForClosure(Assembler* assembler,
177 const Function& func); 178 const Function& func);
178 static void GenerateNArgsCheckInlineCacheStub(Assembler* assembler, 179 static void GenerateNArgsCheckInlineCacheStub(Assembler* assembler,
179 intptr_t num_args); 180 intptr_t num_args);
180 }; 181 };
181 182
182 } // namespace dart 183 } // namespace dart
183 184
184 #endif // VM_STUB_CODE_H_ 185 #endif // VM_STUB_CODE_H_
OLDNEW
« vm/runtime_entry_test.cc ('K') | « vm/runtime_entry_x64.cc ('k') | vm/stub_code_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698