| 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 28 matching lines...) Expand all Loading... |
| 39 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction); | 39 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction); |
| 40 DECLARE_RUNTIME_ENTRY(TraceICCall); | 40 DECLARE_RUNTIME_ENTRY(TraceICCall); |
| 41 DECLARE_RUNTIME_ENTRY(PatchStaticCall); | 41 DECLARE_RUNTIME_ENTRY(PatchStaticCall); |
| 42 DECLARE_RUNTIME_ENTRY(ReThrow); | 42 DECLARE_RUNTIME_ENTRY(ReThrow); |
| 43 DECLARE_RUNTIME_ENTRY(StackOverflow); | 43 DECLARE_RUNTIME_ENTRY(StackOverflow); |
| 44 DECLARE_RUNTIME_ENTRY(Throw); | 44 DECLARE_RUNTIME_ENTRY(Throw); |
| 45 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); | 45 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); |
| 46 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); | 46 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); |
| 47 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterialize); | 47 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterialize); |
| 48 DECLARE_RUNTIME_ENTRY(UpdateFieldCid); | 48 DECLARE_RUNTIME_ENTRY(UpdateFieldCid); |
| 49 DECLARE_RUNTIME_ENTRY(InitStaticField); |
| 49 | 50 |
| 50 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason); | 51 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason); |
| 51 | 52 |
| 52 void DeoptimizeAt(const Code& optimized_code, uword pc); | 53 void DeoptimizeAt(const Code& optimized_code, uword pc); |
| 53 void DeoptimizeAll(); | 54 void DeoptimizeAll(); |
| 54 | 55 |
| 55 double DartModulo(double a, double b); | 56 double DartModulo(double a, double b); |
| 56 void SinCos(double arg, double* sin_res, double* cos_res); | 57 void SinCos(double arg, double* sin_res, double* cos_res); |
| 57 | 58 |
| 58 } // namespace dart | 59 } // namespace dart |
| 59 | 60 |
| 60 #endif // VM_CODE_GENERATOR_H_ | 61 #endif // VM_CODE_GENERATOR_H_ |
| OLD | NEW |