| 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 21 matching lines...) Expand all Loading... |
| 32 DECLARE_RUNTIME_ENTRY(TypeCheck); | 32 DECLARE_RUNTIME_ENTRY(TypeCheck); |
| 33 DECLARE_RUNTIME_ENTRY(BadTypeError); | 33 DECLARE_RUNTIME_ENTRY(BadTypeError); |
| 34 DECLARE_RUNTIME_ENTRY(NonBoolTypeError); | 34 DECLARE_RUNTIME_ENTRY(NonBoolTypeError); |
| 35 DECLARE_RUNTIME_ENTRY(InstantiateType); | 35 DECLARE_RUNTIME_ENTRY(InstantiateType); |
| 36 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments); | 36 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments); |
| 37 DECLARE_RUNTIME_ENTRY(InvokeNoSuchMethodFunction); | 37 DECLARE_RUNTIME_ENTRY(InvokeNoSuchMethodFunction); |
| 38 DECLARE_RUNTIME_ENTRY(MegamorphicCacheMissHandler); | 38 DECLARE_RUNTIME_ENTRY(MegamorphicCacheMissHandler); |
| 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(InvokeNonClosure); | |
| 43 DECLARE_RUNTIME_ENTRY(ReThrow); | 42 DECLARE_RUNTIME_ENTRY(ReThrow); |
| 44 DECLARE_RUNTIME_ENTRY(StackOverflow); | 43 DECLARE_RUNTIME_ENTRY(StackOverflow); |
| 45 DECLARE_RUNTIME_ENTRY(Throw); | 44 DECLARE_RUNTIME_ENTRY(Throw); |
| 46 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); | 45 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); |
| 47 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); | 46 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); |
| 48 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterialize); | 47 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterialize); |
| 49 DECLARE_RUNTIME_ENTRY(UpdateFieldCid); | 48 DECLARE_RUNTIME_ENTRY(UpdateFieldCid); |
| 50 | 49 |
| 51 #define DEOPT_REASONS(V) \ | 50 #define DEOPT_REASONS(V) \ |
| 52 V(Unknown) \ | 51 V(Unknown) \ |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 | 88 |
| 90 void DeoptimizeAt(const Code& optimized_code, uword pc); | 89 void DeoptimizeAt(const Code& optimized_code, uword pc); |
| 91 void DeoptimizeAll(); | 90 void DeoptimizeAll(); |
| 92 | 91 |
| 93 double DartModulo(double a, double b); | 92 double DartModulo(double a, double b); |
| 94 void SinCos(double arg, double* sin_res, double* cos_res); | 93 void SinCos(double arg, double* sin_res, double* cos_res); |
| 95 | 94 |
| 96 } // namespace dart | 95 } // namespace dart |
| 97 | 96 |
| 98 #endif // VM_CODE_GENERATOR_H_ | 97 #endif // VM_CODE_GENERATOR_H_ |
| OLD | NEW |