| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 15 matching lines...) Expand all Loading... |
| 26 DECLARE_RUNTIME_ENTRY(ArgumentDefinitionTest); | 26 DECLARE_RUNTIME_ENTRY(ArgumentDefinitionTest); |
| 27 DECLARE_RUNTIME_ENTRY(BreakpointStaticHandler); | 27 DECLARE_RUNTIME_ENTRY(BreakpointStaticHandler); |
| 28 DECLARE_RUNTIME_ENTRY(BreakpointReturnHandler); | 28 DECLARE_RUNTIME_ENTRY(BreakpointReturnHandler); |
| 29 DECLARE_RUNTIME_ENTRY(BreakpointDynamicHandler); | 29 DECLARE_RUNTIME_ENTRY(BreakpointDynamicHandler); |
| 30 DECLARE_RUNTIME_ENTRY(CloneContext); | 30 DECLARE_RUNTIME_ENTRY(CloneContext); |
| 31 DECLARE_RUNTIME_ENTRY(Deoptimize); | 31 DECLARE_RUNTIME_ENTRY(Deoptimize); |
| 32 DECLARE_RUNTIME_ENTRY(FixCallersTarget); | 32 DECLARE_RUNTIME_ENTRY(FixCallersTarget); |
| 33 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerOneArg); | 33 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerOneArg); |
| 34 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerTwoArgs); | 34 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerTwoArgs); |
| 35 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerThreeArgs); | 35 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerThreeArgs); |
| 36 DECLARE_RUNTIME_ENTRY(InstanceFunctionLookup); |
| 36 DECLARE_RUNTIME_ENTRY(Instanceof); | 37 DECLARE_RUNTIME_ENTRY(Instanceof); |
| 37 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments); | 38 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments); |
| 38 DECLARE_RUNTIME_ENTRY(InvokeImplicitClosureFunction); | |
| 39 DECLARE_RUNTIME_ENTRY(InvokeNoSuchMethodFunction); | 39 DECLARE_RUNTIME_ENTRY(InvokeNoSuchMethodFunction); |
| 40 DECLARE_RUNTIME_ENTRY(MegamorphicCacheMissHandler); | 40 DECLARE_RUNTIME_ENTRY(MegamorphicCacheMissHandler); |
| 41 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction); | 41 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction); |
| 42 DECLARE_RUNTIME_ENTRY(TraceICCall); | 42 DECLARE_RUNTIME_ENTRY(TraceICCall); |
| 43 DECLARE_RUNTIME_ENTRY(PatchStaticCall); | 43 DECLARE_RUNTIME_ENTRY(PatchStaticCall); |
| 44 DECLARE_RUNTIME_ENTRY(InvokeNonClosure); | 44 DECLARE_RUNTIME_ENTRY(InvokeNonClosure); |
| 45 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureFunction); | |
| 46 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureThroughGetter); | |
| 47 DECLARE_RUNTIME_ENTRY(ReThrow); | 45 DECLARE_RUNTIME_ENTRY(ReThrow); |
| 48 DECLARE_RUNTIME_ENTRY(StackOverflow); | 46 DECLARE_RUNTIME_ENTRY(StackOverflow); |
| 49 DECLARE_RUNTIME_ENTRY(Throw); | 47 DECLARE_RUNTIME_ENTRY(Throw); |
| 50 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); | 48 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); |
| 51 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); | 49 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); |
| 52 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterializeDoubles); | 50 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterializeDoubles); |
| 53 DECLARE_RUNTIME_ENTRY(UpdateICDataTwoArgs); | 51 DECLARE_RUNTIME_ENTRY(UpdateICDataTwoArgs); |
| 54 | 52 |
| 55 #define DEOPT_REASONS(V) \ | 53 #define DEOPT_REASONS(V) \ |
| 56 V(Unknown) \ | 54 V(Unknown) \ |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 const Instance& receiver, | 87 const Instance& receiver, |
| 90 const ICData& ic_data, | 88 const ICData& ic_data, |
| 91 const Array& arguments_descriptor); | 89 const Array& arguments_descriptor); |
| 92 | 90 |
| 93 void DeoptimizeAll(); | 91 void DeoptimizeAll(); |
| 94 void DeoptimizeIfOwner(const GrowableArray<intptr_t>& classes); | 92 void DeoptimizeIfOwner(const GrowableArray<intptr_t>& classes); |
| 95 | 93 |
| 96 } // namespace dart | 94 } // namespace dart |
| 97 | 95 |
| 98 #endif // VM_CODE_GENERATOR_H_ | 96 #endif // VM_CODE_GENERATOR_H_ |
| OLD | NEW |