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 #include "vm/native_entry.h" | 5 #include "vm/native_entry.h" |
6 | 6 |
7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
8 | 8 |
9 #include "vm/bootstrap.h" | 9 #include "vm/bootstrap.h" |
10 #include "vm/code_patcher.h" | 10 #include "vm/code_patcher.h" |
11 #include "vm/dart_api_impl.h" | 11 #include "vm/dart_api_impl.h" |
12 #include "vm/dart_api_state.h" | 12 #include "vm/dart_api_state.h" |
| 13 #include "vm/native_symbol.h" |
13 #include "vm/object_store.h" | 14 #include "vm/object_store.h" |
14 #include "vm/reusable_handles.h" | 15 #include "vm/reusable_handles.h" |
15 #include "vm/safepoint.h" | 16 #include "vm/safepoint.h" |
16 #include "vm/stack_frame.h" | 17 #include "vm/stack_frame.h" |
17 #include "vm/symbols.h" | 18 #include "vm/symbols.h" |
18 #include "vm/tags.h" | 19 #include "vm/tags.h" |
19 | 20 |
20 | 21 |
21 namespace dart { | 22 namespace dart { |
22 | 23 |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 NativeEntry::NativeCallWrapperNoStackCheck( | 297 NativeEntry::NativeCallWrapperNoStackCheck( |
297 args, reinterpret_cast<Dart_NativeFunction>(target_function)); | 298 args, reinterpret_cast<Dart_NativeFunction>(target_function)); |
298 } else { | 299 } else { |
299 target_function(arguments); | 300 target_function(arguments); |
300 } | 301 } |
301 } | 302 } |
302 #endif // !defined(TARGET_ARCH_DBC) | 303 #endif // !defined(TARGET_ARCH_DBC) |
303 | 304 |
304 | 305 |
305 } // namespace dart | 306 } // namespace dart |
OLD | NEW |