| 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 "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
| 10 #include "vm/exceptions.h" |
| 10 #include "vm/native_arguments.h" | 11 #include "vm/native_arguments.h" |
| 11 #include "vm/verifier.h" | 12 #include "vm/verifier.h" |
| 12 | 13 |
| 13 #include "include/dart_api.h" | 14 #include "include/dart_api.h" |
| 14 | 15 |
| 15 namespace dart { | 16 namespace dart { |
| 16 | 17 |
| 17 DECLARE_FLAG(bool, trace_natives); | 18 DECLARE_FLAG(bool, trace_natives); |
| 18 | 19 |
| 19 // Forward declarations. | 20 // Forward declarations. |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 public: | 74 public: |
| 74 // Resolve specified dart native function to the actual native entrypoint. | 75 // Resolve specified dart native function to the actual native entrypoint. |
| 75 static NativeFunction ResolveNative(const Class& cls, | 76 static NativeFunction ResolveNative(const Class& cls, |
| 76 const String& function_name, | 77 const String& function_name, |
| 77 int number_of_arguments); | 78 int number_of_arguments); |
| 78 }; | 79 }; |
| 79 | 80 |
| 80 } // namespace dart | 81 } // namespace dart |
| 81 | 82 |
| 82 #endif // VM_NATIVE_ENTRY_H_ | 83 #endif // VM_NATIVE_ENTRY_H_ |
| OLD | NEW |