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 RUNTIME_VM_CODE_GENERATOR_H_ | 5 #ifndef RUNTIME_VM_CODE_GENERATOR_H_ |
6 #define RUNTIME_VM_CODE_GENERATOR_H_ | 6 #define RUNTIME_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 |
11 namespace dart { | 11 namespace dart { |
12 | 12 |
13 class Array; | 13 class Array; |
14 template <typename T> class GrowableArray; | 14 template <typename T> |
| 15 class GrowableArray; |
15 class ICData; | 16 class ICData; |
16 class Instance; | 17 class Instance; |
17 | 18 |
18 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason); | 19 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason); |
19 | 20 |
20 void DeoptimizeAt(const Code& optimized_code, StackFrame* frame); | 21 void DeoptimizeAt(const Code& optimized_code, StackFrame* frame); |
21 void DeoptimizeFunctionsOnStack(); | 22 void DeoptimizeFunctionsOnStack(); |
22 | 23 |
23 double DartModulo(double a, double b); | 24 double DartModulo(double a, double b); |
24 void SinCos(double arg, double* sin_res, double* cos_res); | 25 void SinCos(double arg, double* sin_res, double* cos_res); |
25 | 26 |
26 } // namespace dart | 27 } // namespace dart |
27 | 28 |
28 #endif // RUNTIME_VM_CODE_GENERATOR_H_ | 29 #endif // RUNTIME_VM_CODE_GENERATOR_H_ |
OLD | NEW |