| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 enum DeoptReasonId { | 83 enum DeoptReasonId { |
| 84 #define DEFINE_ENUM_LIST(name) kDeopt##name, | 84 #define DEFINE_ENUM_LIST(name) kDeopt##name, |
| 85 DEOPT_REASONS(DEFINE_ENUM_LIST) | 85 DEOPT_REASONS(DEFINE_ENUM_LIST) |
| 86 #undef DEFINE_ENUM_LIST | 86 #undef DEFINE_ENUM_LIST |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 | 89 |
| 90 const char* DeoptReasonToText(intptr_t deopt_id); | 90 const char* DeoptReasonToText(intptr_t deopt_id); |
| 91 | 91 |
| 92 | 92 |
| 93 RawCode* ResolveCompileInstanceCallTarget( | 93 RawCode* ResolveCompileInstanceCallTarget(const Instance& receiver, |
| 94 const Instance& receiver, | 94 const ICData& ic_data); |
| 95 const ICData& ic_data, | |
| 96 const Array& arguments_descriptor); | |
| 97 | 95 |
| 98 void DeoptimizeAt(const Code& optimized_code, uword pc); | 96 void DeoptimizeAt(const Code& optimized_code, uword pc); |
| 99 void DeoptimizeAll(); | 97 void DeoptimizeAll(); |
| 100 void DeoptimizeIfOwner(const GrowableArray<intptr_t>& classes); | 98 void DeoptimizeIfOwner(const GrowableArray<intptr_t>& classes); |
| 101 | 99 |
| 102 double DartModulo(double a, double b); | 100 double DartModulo(double a, double b); |
| 103 | 101 |
| 104 } // namespace dart | 102 } // namespace dart |
| 105 | 103 |
| 106 #endif // VM_CODE_GENERATOR_H_ | 104 #endif // VM_CODE_GENERATOR_H_ |
| OLD | NEW |