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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); | 47 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); |
48 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); | 48 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); |
49 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterialize); | 49 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterialize); |
50 DECLARE_RUNTIME_ENTRY(UpdateFieldCid); | 50 DECLARE_RUNTIME_ENTRY(UpdateFieldCid); |
51 DECLARE_RUNTIME_ENTRY(InitStaticField); | 51 DECLARE_RUNTIME_ENTRY(InitStaticField); |
52 DECLARE_RUNTIME_ENTRY(GrowRegExpStack); | 52 DECLARE_RUNTIME_ENTRY(GrowRegExpStack); |
53 | 53 |
54 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason); | 54 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason); |
55 | 55 |
56 void DeoptimizeAt(const Code& optimized_code, uword pc); | 56 void DeoptimizeAt(const Code& optimized_code, uword pc); |
57 void DeoptimizeAll(); | 57 void DeoptimizeFunctionsOnStack(); |
58 | 58 |
59 double DartModulo(double a, double b); | 59 double DartModulo(double a, double b); |
60 void SinCos(double arg, double* sin_res, double* cos_res); | 60 void SinCos(double arg, double* sin_res, double* cos_res); |
61 | 61 |
62 } // namespace dart | 62 } // namespace dart |
63 | 63 |
64 #endif // VM_CODE_GENERATOR_H_ | 64 #endif // VM_CODE_GENERATOR_H_ |
OLD | NEW |