| 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_TEST_H_ | 5 #ifndef VM_NATIVE_ENTRY_TEST_H_ |
| 6 #define VM_NATIVE_ENTRY_TEST_H_ | 6 #define VM_NATIVE_ENTRY_TEST_H_ |
| 7 | 7 |
| 8 #include "include/dart_api.h" | 8 #include "include/dart_api.h" |
| 9 #include "vm/runtime_entry.h" |
| 9 | 10 |
| 10 namespace dart { | 11 namespace dart { |
| 11 | 12 |
| 13 DECLARE_RUNTIME_ENTRY(TestSmiSub) |
| 14 DECLARE_LEAF_RUNTIME_ENTRY(RawObject*, TestLeafSmiAdd, RawObject*, RawObject*) |
| 15 |
| 12 void TestSmiSub(Dart_NativeArguments args); | 16 void TestSmiSub(Dart_NativeArguments args); |
| 13 void TestSmiSum(Dart_NativeArguments args); | 17 void TestSmiSum(Dart_NativeArguments args); |
| 14 void TestNonNullSmiSum(Dart_NativeArguments args); | 18 void TestNonNullSmiSum(Dart_NativeArguments args); |
| 15 | 19 |
| 16 } // namespace dart | 20 } // namespace dart |
| 17 | 21 |
| 18 #endif // VM_NATIVE_ENTRY_TEST_H_ | 22 #endif // VM_NATIVE_ENTRY_TEST_H_ |
| OLD | NEW |