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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 | 89 |
90 | 90 |
91 const char* DeoptReasonToText(intptr_t deopt_id); | 91 const char* DeoptReasonToText(intptr_t deopt_id); |
92 | 92 |
93 | 93 |
94 RawCode* ResolveCompileInstanceCallTarget(const Instance& receiver, | 94 RawCode* ResolveCompileInstanceCallTarget(const Instance& receiver, |
95 const ICData& ic_data); | 95 const ICData& ic_data); |
96 | 96 |
97 void DeoptimizeAt(const Code& optimized_code, uword pc); | 97 void DeoptimizeAt(const Code& optimized_code, uword pc); |
98 void DeoptimizeAll(); | 98 void DeoptimizeAll(); |
99 void DeoptimizeIfOwner(const GrowableArray<intptr_t>& classes); | |
100 | 99 |
101 double DartModulo(double a, double b); | 100 double DartModulo(double a, double b); |
102 void SinCos(double arg, double* sin_res, double* cos_res); | 101 void SinCos(double arg, double* sin_res, double* cos_res); |
103 | 102 |
104 } // namespace dart | 103 } // namespace dart |
105 | 104 |
106 #endif // VM_CODE_GENERATOR_H_ | 105 #endif // VM_CODE_GENERATOR_H_ |
OLD | NEW |