OLD | NEW |
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 V(TwoArgsCheckInlineCache) \ | 59 V(TwoArgsCheckInlineCache) \ |
60 V(ThreeArgsCheckInlineCache) \ | 60 V(ThreeArgsCheckInlineCache) \ |
61 V(OneArgOptimizedCheckInlineCache) \ | 61 V(OneArgOptimizedCheckInlineCache) \ |
62 V(TwoArgsOptimizedCheckInlineCache) \ | 62 V(TwoArgsOptimizedCheckInlineCache) \ |
63 V(ThreeArgsOptimizedCheckInlineCache) \ | 63 V(ThreeArgsOptimizedCheckInlineCache) \ |
64 V(ClosureCallInlineCache) \ | 64 V(ClosureCallInlineCache) \ |
65 V(MegamorphicCall) \ | 65 V(MegamorphicCall) \ |
66 V(ZeroArgsUnoptimizedStaticCall) \ | 66 V(ZeroArgsUnoptimizedStaticCall) \ |
67 V(TwoArgsUnoptimizedStaticCall) \ | 67 V(TwoArgsUnoptimizedStaticCall) \ |
68 V(OptimizeFunction) \ | 68 V(OptimizeFunction) \ |
69 V(BreakpointDynamic) \ | |
70 | 69 |
71 // class StubEntry is used to describe stub methods generated in dart to | 70 // class StubEntry is used to describe stub methods generated in dart to |
72 // abstract out common code executed from generated dart code. | 71 // abstract out common code executed from generated dart code. |
73 class StubEntry { | 72 class StubEntry { |
74 public: | 73 public: |
75 StubEntry(const char* name, const Code& code); | 74 StubEntry(const char* name, const Code& code); |
76 ~StubEntry() {} | 75 ~StubEntry() {} |
77 | 76 |
78 const ExternalLabel& label() const { return label_; } | 77 const ExternalLabel& label() const { return label_; } |
79 uword EntryPoint() const { return entry_point_; } | 78 uword EntryPoint() const { return entry_point_; } |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 Assembler* assembler, | 206 Assembler* assembler, |
208 const Register left, | 207 const Register left, |
209 const Register right, | 208 const Register right, |
210 const Register temp1 = kNoRegister, | 209 const Register temp1 = kNoRegister, |
211 const Register temp2 = kNoRegister); | 210 const Register temp2 = kNoRegister); |
212 }; | 211 }; |
213 | 212 |
214 } // namespace dart | 213 } // namespace dart |
215 | 214 |
216 #endif // VM_STUB_CODE_H_ | 215 #endif // VM_STUB_CODE_H_ |
OLD | NEW |