| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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/intermediate_language.h" | 5 #include "vm/intermediate_language.h" |
| 6 | 6 |
| 7 #include "vm/bit_vector.h" | 7 #include "vm/bit_vector.h" |
| 8 #include "vm/dart_entry.h" | 8 #include "vm/dart_entry.h" |
| 9 #include "vm/flow_graph_allocator.h" | 9 #include "vm/flow_graph_allocator.h" |
| 10 #include "vm/flow_graph_builder.h" | 10 #include "vm/flow_graph_builder.h" |
| (...skipping 2704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2715 | 2715 |
| 2716 // Use expected function signatures to help MSVC compiler resolve overloading. | 2716 // Use expected function signatures to help MSVC compiler resolve overloading. |
| 2717 typedef double (*UnaryMathCFunction) (double x); | 2717 typedef double (*UnaryMathCFunction) (double x); |
| 2718 typedef double (*BinaryMathCFunction) (double x, double y); | 2718 typedef double (*BinaryMathCFunction) (double x, double y); |
| 2719 | 2719 |
| 2720 extern const RuntimeEntry kPowRuntimeEntry( | 2720 extern const RuntimeEntry kPowRuntimeEntry( |
| 2721 "libc_pow", reinterpret_cast<RuntimeFunction>( | 2721 "libc_pow", reinterpret_cast<RuntimeFunction>( |
| 2722 static_cast<BinaryMathCFunction>(&pow)), 0, true); | 2722 static_cast<BinaryMathCFunction>(&pow)), 0, true); |
| 2723 | 2723 |
| 2724 extern const RuntimeEntry kModRuntimeEntry( | 2724 extern const RuntimeEntry kModRuntimeEntry( |
| 2725 "libc_fmod", reinterpret_cast<RuntimeFunction>( | 2725 "DartModulo", reinterpret_cast<RuntimeFunction>( |
| 2726 static_cast<BinaryMathCFunction>(&fmod)), 0, true); | 2726 static_cast<BinaryMathCFunction>(&DartModulo)), 0, true); |
| 2727 | 2727 |
| 2728 extern const RuntimeEntry kFloorRuntimeEntry( | 2728 extern const RuntimeEntry kFloorRuntimeEntry( |
| 2729 "libc_floor", reinterpret_cast<RuntimeFunction>( | 2729 "libc_floor", reinterpret_cast<RuntimeFunction>( |
| 2730 static_cast<UnaryMathCFunction>(&floor)), 0, true); | 2730 static_cast<UnaryMathCFunction>(&floor)), 0, true); |
| 2731 | 2731 |
| 2732 extern const RuntimeEntry kCeilRuntimeEntry( | 2732 extern const RuntimeEntry kCeilRuntimeEntry( |
| 2733 "libc_ceil", reinterpret_cast<RuntimeFunction>( | 2733 "libc_ceil", reinterpret_cast<RuntimeFunction>( |
| 2734 static_cast<UnaryMathCFunction>(&ceil)), 0, true); | 2734 static_cast<UnaryMathCFunction>(&ceil)), 0, true); |
| 2735 | 2735 |
| 2736 extern const RuntimeEntry kTruncRuntimeEntry( | 2736 extern const RuntimeEntry kTruncRuntimeEntry( |
| (...skipping 22 matching lines...) Expand all Loading... |
| 2759 default: | 2759 default: |
| 2760 UNREACHABLE(); | 2760 UNREACHABLE(); |
| 2761 } | 2761 } |
| 2762 return kPowRuntimeEntry; | 2762 return kPowRuntimeEntry; |
| 2763 } | 2763 } |
| 2764 | 2764 |
| 2765 | 2765 |
| 2766 #undef __ | 2766 #undef __ |
| 2767 | 2767 |
| 2768 } // namespace dart | 2768 } // namespace dart |
| OLD | NEW |