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_CODE_GENERATOR_H_ | 5 #ifndef VM_CODE_GENERATOR_H_ |
6 #define VM_CODE_GENERATOR_H_ | 6 #define VM_CODE_GENERATOR_H_ |
7 | 7 |
8 #include "vm/globals.h" | 8 #include "vm/globals.h" |
9 #include "vm/runtime_entry.h" | 9 #include "vm/runtime_entry.h" |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 namespace dart { | 21 namespace dart { |
22 | 22 |
23 // Declaration of runtime entries called from stub or generated code. | 23 // Declaration of runtime entries called from stub or generated code. |
24 DECLARE_RUNTIME_ENTRY(AllocateArray); | 24 DECLARE_RUNTIME_ENTRY(AllocateArray); |
25 DECLARE_RUNTIME_ENTRY(AllocateClosure); | 25 DECLARE_RUNTIME_ENTRY(AllocateClosure); |
26 DECLARE_RUNTIME_ENTRY(AllocateImplicitInstanceClosure); | 26 DECLARE_RUNTIME_ENTRY(AllocateImplicitInstanceClosure); |
27 DECLARE_RUNTIME_ENTRY(AllocateImplicitStaticClosure); | 27 DECLARE_RUNTIME_ENTRY(AllocateImplicitStaticClosure); |
28 DECLARE_RUNTIME_ENTRY(AllocateContext); | 28 DECLARE_RUNTIME_ENTRY(AllocateContext); |
29 DECLARE_RUNTIME_ENTRY(AllocateObject); | 29 DECLARE_RUNTIME_ENTRY(AllocateObject); |
30 DECLARE_RUNTIME_ENTRY(BreakpointStaticHandler); | 30 DECLARE_RUNTIME_ENTRY(BreakpointStaticHandler); |
| 31 DECLARE_RUNTIME_ENTRY(BreakpointReturnHandler); |
31 DECLARE_RUNTIME_ENTRY(BreakpointDynamicHandler); | 32 DECLARE_RUNTIME_ENTRY(BreakpointDynamicHandler); |
32 DECLARE_RUNTIME_ENTRY(CloneContext); | 33 DECLARE_RUNTIME_ENTRY(CloneContext); |
33 DECLARE_RUNTIME_ENTRY(ClosureArgumentMismatch); | 34 DECLARE_RUNTIME_ENTRY(ClosureArgumentMismatch); |
34 DECLARE_RUNTIME_ENTRY(Deoptimize); | 35 DECLARE_RUNTIME_ENTRY(Deoptimize); |
35 DECLARE_RUNTIME_ENTRY(FixCallersTarget); | 36 DECLARE_RUNTIME_ENTRY(FixCallersTarget); |
36 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerOneArg); | 37 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerOneArg); |
37 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerTwoArgs); | 38 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerTwoArgs); |
38 DECLARE_RUNTIME_ENTRY(Instanceof); | 39 DECLARE_RUNTIME_ENTRY(Instanceof); |
39 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments); | 40 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments); |
40 DECLARE_RUNTIME_ENTRY(InvokeImplicitClosureFunction); | 41 DECLARE_RUNTIME_ENTRY(InvokeImplicitClosureFunction); |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 intptr_t token_index, | 164 intptr_t token_index, |
164 intptr_t try_index); | 165 intptr_t try_index); |
165 | 166 |
166 RawPcDescriptors* FinalizePcDescriptors(uword entry_point); | 167 RawPcDescriptors* FinalizePcDescriptors(uword entry_point); |
167 | 168 |
168 private: | 169 private: |
169 GrowableArray<struct PcDesc> list_; | 170 GrowableArray<struct PcDesc> list_; |
170 DISALLOW_COPY_AND_ASSIGN(DescriptorList); | 171 DISALLOW_COPY_AND_ASSIGN(DescriptorList); |
171 }; | 172 }; |
172 | 173 |
| 174 |
| 175 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate, |
| 176 const Instance& receiver); |
| 177 |
173 } // namespace dart | 178 } // namespace dart |
174 | 179 |
175 #endif // VM_CODE_GENERATOR_H_ | 180 #endif // VM_CODE_GENERATOR_H_ |
OLD | NEW |