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

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

Issue 15743019: Consolidate debug stubs (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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
« no previous file with comments | « runtime/vm/object.cc ('k') | 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 13 matching lines...) Expand all
24 V(PrintStopMessage) \ 24 V(PrintStopMessage) \
25 V(CallNativeCFunction) \ 25 V(CallNativeCFunction) \
26 V(AllocateArray) \ 26 V(AllocateArray) \
27 V(CallNoSuchMethodFunction) \ 27 V(CallNoSuchMethodFunction) \
28 V(InstanceFunctionLookup) \ 28 V(InstanceFunctionLookup) \
29 V(CallStaticFunction) \ 29 V(CallStaticFunction) \
30 V(CallClosureFunction) \ 30 V(CallClosureFunction) \
31 V(FixCallersTarget) \ 31 V(FixCallersTarget) \
32 V(Deoptimize) \ 32 V(Deoptimize) \
33 V(DeoptimizeLazy) \ 33 V(DeoptimizeLazy) \
34 V(BreakpointClosure) \ 34 V(BreakpointRuntime) \
35 V(BreakpointStatic) \ 35 V(BreakpointStatic) \
36 V(BreakpointReturn) \ 36 V(BreakpointReturn) \
37 V(Subtype1TestCache) \ 37 V(Subtype1TestCache) \
38 V(Subtype2TestCache) \ 38 V(Subtype2TestCache) \
39 V(Subtype3TestCache) \ 39 V(Subtype3TestCache) \
40 V(GetStackPointer) \ 40 V(GetStackPointer) \
41 V(JumpToExceptionHandler) \ 41 V(JumpToExceptionHandler) \
42 V(IdenticalWithNumberCheck) \ 42 V(IdenticalWithNumberCheck) \
43 43
44 // Is it permitted for the stubs above to refer to Object::null(), which is 44 // Is it permitted for the stubs above to refer to Object::null(), which is
(...skipping 12 matching lines...) Expand all
57 V(TwoArgsCheckInlineCache) \ 57 V(TwoArgsCheckInlineCache) \
58 V(ThreeArgsCheckInlineCache) \ 58 V(ThreeArgsCheckInlineCache) \
59 V(OneArgOptimizedCheckInlineCache) \ 59 V(OneArgOptimizedCheckInlineCache) \
60 V(TwoArgsOptimizedCheckInlineCache) \ 60 V(TwoArgsOptimizedCheckInlineCache) \
61 V(ThreeArgsOptimizedCheckInlineCache) \ 61 V(ThreeArgsOptimizedCheckInlineCache) \
62 V(ClosureCallInlineCache) \ 62 V(ClosureCallInlineCache) \
63 V(MegamorphicCall) \ 63 V(MegamorphicCall) \
64 V(OptimizeFunction) \ 64 V(OptimizeFunction) \
65 V(BreakpointDynamic) \ 65 V(BreakpointDynamic) \
66 V(EqualityWithNullArg) \ 66 V(EqualityWithNullArg) \
67 V(BreakpointEqNull) \
68 67
69 // class StubEntry is used to describe stub methods generated in dart to 68 // class StubEntry is used to describe stub methods generated in dart to
70 // abstract out common code executed from generated dart code. 69 // abstract out common code executed from generated dart code.
71 class StubEntry { 70 class StubEntry {
72 public: 71 public:
73 StubEntry(const char* name, const Code& code); 72 StubEntry(const char* name, const Code& code);
74 ~StubEntry() {} 73 ~StubEntry() {}
75 74
76 const ExternalLabel& label() const { return label_; } 75 const ExternalLabel& label() const { return label_; }
77 uword EntryPoint() const { return entry_point_; } 76 uword EntryPoint() const { return entry_point_; }
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 static void GenerateNArgsCheckInlineCacheStub(Assembler* assembler, 194 static void GenerateNArgsCheckInlineCacheStub(Assembler* assembler,
196 intptr_t num_args); 195 intptr_t num_args);
197 static void GenerateUsageCounterIncrement(Assembler* assembler, 196 static void GenerateUsageCounterIncrement(Assembler* assembler,
198 Register temp_reg); 197 Register temp_reg);
199 static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler); 198 static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler);
200 }; 199 };
201 200
202 } // namespace dart 201 } // namespace dart
203 202
204 #endif // VM_STUB_CODE_H_ 203 #endif // VM_STUB_CODE_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/stub_code_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698