| 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 V(EqualityClassCheck) \ | 77 V(EqualityClassCheck) \ |
| 78 V(DoubleComparison) \ | 78 V(DoubleComparison) \ |
| 79 V(LoadIndexedFixedArray) \ | 79 V(LoadIndexedFixedArray) \ |
| 80 V(LoadIndexedGrowableArray) \ | 80 V(LoadIndexedGrowableArray) \ |
| 81 V(LoadIndexedPolymorphic) \ | 81 V(LoadIndexedPolymorphic) \ |
| 82 V(NoTypeFeedback) \ | 82 V(NoTypeFeedback) \ |
| 83 V(UnaryOp) \ | 83 V(UnaryOp) \ |
| 84 V(UnboxInteger) \ | 84 V(UnboxInteger) \ |
| 85 V(CheckClass) \ | 85 V(CheckClass) \ |
| 86 V(CheckSmi) \ | 86 V(CheckSmi) \ |
| 87 V(CheckArrayBound) \ |
| 87 V(AtCall) \ | 88 V(AtCall) \ |
| 88 V(NumReasons) \ | 89 V(NumReasons) \ |
| 89 | 90 |
| 90 enum DeoptReasonId { | 91 enum DeoptReasonId { |
| 91 #define DEFINE_ENUM_LIST(name) kDeopt##name, | 92 #define DEFINE_ENUM_LIST(name) kDeopt##name, |
| 92 DEOPT_REASONS(DEFINE_ENUM_LIST) | 93 DEOPT_REASONS(DEFINE_ENUM_LIST) |
| 93 #undef DEFINE_ENUM_LIST | 94 #undef DEFINE_ENUM_LIST |
| 94 }; | 95 }; |
| 95 | 96 |
| 96 | 97 |
| 97 const char* DeoptReasonToText(intptr_t deopt_id); | 98 const char* DeoptReasonToText(intptr_t deopt_id); |
| 98 | 99 |
| 99 | 100 |
| 100 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate, | 101 RawCode* ResolveCompileInstanceCallTarget(Isolate* isolate, |
| 101 const Instance& receiver); | 102 const Instance& receiver); |
| 102 | 103 |
| 103 void DeoptimizeAll(); | 104 void DeoptimizeAll(); |
| 104 | 105 |
| 105 } // namespace dart | 106 } // namespace dart |
| 106 | 107 |
| 107 #endif // VM_CODE_GENERATOR_H_ | 108 #endif // VM_CODE_GENERATOR_H_ |
| OLD | NEW |