| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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_NATIVE_ENTRY_H_ | 5 #ifndef RUNTIME_VM_NATIVE_ENTRY_H_ |
| 6 #define RUNTIME_VM_NATIVE_ENTRY_H_ | 6 #define RUNTIME_VM_NATIVE_ENTRY_H_ |
| 7 | 7 |
| 8 #include "platform/memory_sanitizer.h" | 8 #include "platform/memory_sanitizer.h" |
| 9 | 9 |
| 10 #include "vm/allocation.h" | 10 #include "vm/allocation.h" |
| 11 #include "vm/assembler.h" | 11 #include "vm/assembler.h" |
| 12 #include "vm/code_generator.h" | |
| 13 #include "vm/exceptions.h" | 12 #include "vm/exceptions.h" |
| 14 #include "vm/log.h" | 13 #include "vm/log.h" |
| 15 #include "vm/native_arguments.h" | 14 #include "vm/native_arguments.h" |
| 15 #include "vm/runtime_entry.h" |
| 16 #include "vm/verifier.h" | 16 #include "vm/verifier.h" |
| 17 | 17 |
| 18 #include "include/dart_api.h" | 18 #include "include/dart_api.h" |
| 19 | 19 |
| 20 namespace dart { | 20 namespace dart { |
| 21 | 21 |
| 22 // Forward declarations. | 22 // Forward declarations. |
| 23 class Class; | 23 class Class; |
| 24 class String; | 24 class String; |
| 25 | 25 |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 static void AutoScopeNativeCallWrapperNoStackCheck(Dart_NativeArguments args, | 150 static void AutoScopeNativeCallWrapperNoStackCheck(Dart_NativeArguments args, |
| 151 Dart_NativeFunction func); | 151 Dart_NativeFunction func); |
| 152 | 152 |
| 153 static bool ReturnValueIsError(NativeArguments* arguments); | 153 static bool ReturnValueIsError(NativeArguments* arguments); |
| 154 static void PropagateErrors(NativeArguments* arguments); | 154 static void PropagateErrors(NativeArguments* arguments); |
| 155 }; | 155 }; |
| 156 | 156 |
| 157 } // namespace dart | 157 } // namespace dart |
| 158 | 158 |
| 159 #endif // RUNTIME_VM_NATIVE_ENTRY_H_ | 159 #endif // RUNTIME_VM_NATIVE_ENTRY_H_ |
| OLD | NEW |