| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 V(DeoptDoubleComparison) \ | 73 V(DeoptDoubleComparison) \ |
| 74 V(DeoptLoadIndexedFixedArray) \ | 74 V(DeoptLoadIndexedFixedArray) \ |
| 75 V(DeoptLoadIndexedGrowableArray) \ | 75 V(DeoptLoadIndexedGrowableArray) \ |
| 76 V(DeoptLoadIndexedPolymorphic) \ | 76 V(DeoptLoadIndexedPolymorphic) \ |
| 77 V(DeoptNoTypeFeedback) \ | 77 V(DeoptNoTypeFeedback) \ |
| 78 V(DeoptSAR) \ | 78 V(DeoptSAR) \ |
| 79 V(DeoptUnaryOp) \ | 79 V(DeoptUnaryOp) \ |
| 80 V(DeoptCheckClass) \ | 80 V(DeoptCheckClass) \ |
| 81 V(DeoptCheckSmi) \ | 81 V(DeoptCheckSmi) \ |
| 82 V(DeoptAtCall) \ | 82 V(DeoptAtCall) \ |
| 83 V(DeoptNumReasons) \ |
| 83 | 84 |
| 84 enum DeoptReasonId { | 85 enum DeoptReasonId { |
| 85 #define DEFINE_ENUM_LIST(name) k##name, | 86 #define DEFINE_ENUM_LIST(name) k##name, |
| 86 DEOPT_REASONS(DEFINE_ENUM_LIST) | 87 DEOPT_REASONS(DEFINE_ENUM_LIST) |
| 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 |
| 95 void DeoptimizeAll(); |
| 96 |
| 94 } // namespace dart | 97 } // namespace dart |
| 95 | 98 |
| 96 #endif // VM_CODE_GENERATOR_H_ | 99 #endif // VM_CODE_GENERATOR_H_ |
| OLD | NEW |