| 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 17 matching lines...) Expand all Loading... |
| 28 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerTwoArgs); | 28 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerTwoArgs); |
| 29 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerThreeArgs); | 29 DECLARE_RUNTIME_ENTRY(InlineCacheMissHandlerThreeArgs); |
| 30 DECLARE_RUNTIME_ENTRY(StaticCallMissHandlerOneArg); | 30 DECLARE_RUNTIME_ENTRY(StaticCallMissHandlerOneArg); |
| 31 DECLARE_RUNTIME_ENTRY(StaticCallMissHandlerTwoArgs); | 31 DECLARE_RUNTIME_ENTRY(StaticCallMissHandlerTwoArgs); |
| 32 DECLARE_RUNTIME_ENTRY(Instanceof); | 32 DECLARE_RUNTIME_ENTRY(Instanceof); |
| 33 DECLARE_RUNTIME_ENTRY(TypeCheck); | 33 DECLARE_RUNTIME_ENTRY(TypeCheck); |
| 34 DECLARE_RUNTIME_ENTRY(BadTypeError); | 34 DECLARE_RUNTIME_ENTRY(BadTypeError); |
| 35 DECLARE_RUNTIME_ENTRY(NonBoolTypeError); | 35 DECLARE_RUNTIME_ENTRY(NonBoolTypeError); |
| 36 DECLARE_RUNTIME_ENTRY(InstantiateType); | 36 DECLARE_RUNTIME_ENTRY(InstantiateType); |
| 37 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments); | 37 DECLARE_RUNTIME_ENTRY(InstantiateTypeArguments); |
| 38 DECLARE_RUNTIME_ENTRY(InvokeNoSuchMethodFunction); | 38 DECLARE_RUNTIME_ENTRY(InvokeClosureNoSuchMethod); |
| 39 DECLARE_RUNTIME_ENTRY(MegamorphicCacheMissHandler); | 39 DECLARE_RUNTIME_ENTRY(MegamorphicCacheMissHandler); |
| 40 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction); | 40 DECLARE_RUNTIME_ENTRY(OptimizeInvokedFunction); |
| 41 DECLARE_RUNTIME_ENTRY(TraceICCall); | 41 DECLARE_RUNTIME_ENTRY(TraceICCall); |
| 42 DECLARE_RUNTIME_ENTRY(PatchStaticCall); | 42 DECLARE_RUNTIME_ENTRY(PatchStaticCall); |
| 43 DECLARE_RUNTIME_ENTRY(ReThrow); | 43 DECLARE_RUNTIME_ENTRY(ReThrow); |
| 44 DECLARE_RUNTIME_ENTRY(StackOverflow); | 44 DECLARE_RUNTIME_ENTRY(StackOverflow); |
| 45 DECLARE_RUNTIME_ENTRY(Throw); | 45 DECLARE_RUNTIME_ENTRY(Throw); |
| 46 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); | 46 DECLARE_RUNTIME_ENTRY(TraceFunctionEntry); |
| 47 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); | 47 DECLARE_RUNTIME_ENTRY(TraceFunctionExit); |
| 48 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterialize); | 48 DECLARE_RUNTIME_ENTRY(DeoptimizeMaterialize); |
| 49 DECLARE_RUNTIME_ENTRY(UpdateFieldCid); | 49 DECLARE_RUNTIME_ENTRY(UpdateFieldCid); |
| 50 DECLARE_RUNTIME_ENTRY(InitStaticField); | 50 DECLARE_RUNTIME_ENTRY(InitStaticField); |
| 51 | 51 |
| 52 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason); | 52 const char* DeoptReasonToCString(ICData::DeoptReasonId deopt_reason); |
| 53 | 53 |
| 54 void DeoptimizeAt(const Code& optimized_code, uword pc); | 54 void DeoptimizeAt(const Code& optimized_code, uword pc); |
| 55 void DeoptimizeAll(); | 55 void DeoptimizeAll(); |
| 56 | 56 |
| 57 double DartModulo(double a, double b); | 57 double DartModulo(double a, double b); |
| 58 void SinCos(double arg, double* sin_res, double* cos_res); | 58 void SinCos(double arg, double* sin_res, double* cos_res); |
| 59 | 59 |
| 60 } // namespace dart | 60 } // namespace dart |
| 61 | 61 |
| 62 #endif // VM_CODE_GENERATOR_H_ | 62 #endif // VM_CODE_GENERATOR_H_ |
| OLD | NEW |