| 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 24 matching lines...) Expand all Loading... |
| 35 DECLARE_RUNTIME_ENTRY(PatchStaticCall); | 35 DECLARE_RUNTIME_ENTRY(PatchStaticCall); |
| 36 DECLARE_RUNTIME_ENTRY(ReportObjectNotClosure); | 36 DECLARE_RUNTIME_ENTRY(ReportObjectNotClosure); |
| 37 DECLARE_RUNTIME_ENTRY(ResolveCompileInstanceFunction); | 37 DECLARE_RUNTIME_ENTRY(ResolveCompileInstanceFunction); |
| 38 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureFunction); | 38 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureFunction); |
| 39 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureThroughGetter); | 39 DECLARE_RUNTIME_ENTRY(ResolveImplicitClosureThroughGetter); |
| 40 DECLARE_RUNTIME_ENTRY(ReThrow); | 40 DECLARE_RUNTIME_ENTRY(ReThrow); |
| 41 DECLARE_RUNTIME_ENTRY(StackOverflow); | 41 DECLARE_RUNTIME_ENTRY(StackOverflow); |
| 42 DECLARE_RUNTIME_ENTRY(Throw); | 42 DECLARE_RUNTIME_ENTRY(Throw); |
| 43 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); | 43 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); |
| 44 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); | 44 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); |
| 45 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterializeDoubles); |
| 45 | 46 |
| 46 #define DEOPT_REASONS(V) \ | 47 #define DEOPT_REASONS(V) \ |
| 47 V(DeoptUnknown) \ | 48 V(DeoptUnknown) \ |
| 48 V(DeoptIncrLocal) \ | 49 V(DeoptIncrLocal) \ |
| 49 V(DeoptIncrInstance) \ | 50 V(DeoptIncrInstance) \ |
| 50 V(DeoptIncrInstanceOneClass) \ | 51 V(DeoptIncrInstanceOneClass) \ |
| 51 V(DeoptInstanceGetterSameTarget) \ | 52 V(DeoptInstanceGetterSameTarget) \ |
| 52 V(DeoptInstanceGetter) \ | 53 V(DeoptInstanceGetter) \ |
| 53 V(DeoptStoreIndexed) \ | 54 V(DeoptStoreIndexed) \ |
| 54 V(DeoptStoreIndexedPolymorphic) \ | 55 V(DeoptStoreIndexedPolymorphic) \ |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 #undef DEFINE_ENUM_LIST | 88 #undef DEFINE_ENUM_LIST |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 | 91 |
| 91 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate, | 92 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate, |
| 92 const Instance& receiver); | 93 const Instance& receiver); |
| 93 | 94 |
| 94 } // namespace dart | 95 } // namespace dart |
| 95 | 96 |
| 96 #endif // VM_CODE_GENERATOR_H_ | 97 #endif // VM_CODE_GENERATOR_H_ |
| OLD | NEW |