| 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 VM_NATIVE_ENTRY_H_ | 5 #ifndef VM_NATIVE_ENTRY_H_ |
| 6 #define VM_NATIVE_ENTRY_H_ | 6 #define 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" |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 static const uint8_t* ResolveSymbolInLibrary(const Library& library, | 114 static const uint8_t* ResolveSymbolInLibrary(const Library& library, |
| 115 uword pc); | 115 uword pc); |
| 116 static const uint8_t* ResolveSymbol(uword pc); | 116 static const uint8_t* ResolveSymbol(uword pc); |
| 117 | 117 |
| 118 static uword NativeCallWrapperEntry(); | 118 static uword NativeCallWrapperEntry(); |
| 119 static void NativeCallWrapper(Dart_NativeArguments args, | 119 static void NativeCallWrapper(Dart_NativeArguments args, |
| 120 Dart_NativeFunction func); | 120 Dart_NativeFunction func); |
| 121 | 121 |
| 122 static uword LinkNativeCallEntry(); | 122 static uword LinkNativeCallEntry(); |
| 123 static void LinkNativeCall(Dart_NativeArguments args); | 123 static void LinkNativeCall(Dart_NativeArguments args); |
| 124 private: |
| 125 static bool ReturnValueIsError(NativeArguments* arguments); |
| 126 static void PropagateErrors(NativeArguments* arguments); |
| 124 }; | 127 }; |
| 125 | 128 |
| 126 } // namespace dart | 129 } // namespace dart |
| 127 | 130 |
| 128 #endif // VM_NATIVE_ENTRY_H_ | 131 #endif // VM_NATIVE_ENTRY_H_ |
| OLD | NEW |