Index: runtime/vm/intermediate_language.cc |
diff --git a/runtime/vm/intermediate_language.cc b/runtime/vm/intermediate_language.cc |
index 9db5af0f6200ebc24587140cb70c0304e61607cc..25db0becbd8976c62e863d6611020f5407abdee7 100644 |
--- a/runtime/vm/intermediate_language.cc |
+++ b/runtime/vm/intermediate_language.cc |
@@ -4209,90 +4209,6 @@ intptr_t InvokeMathCFunctionInstr::ArgumentCountFor( |
return 0; |
} |
-// Use expected function signatures to help MSVC compiler resolve overloading. |
-typedef double (*UnaryMathCFunction)(double x); |
-typedef double (*BinaryMathCFunction)(double x, double y); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcPow, |
- 2, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>(static_cast<BinaryMathCFunction>(&pow))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- DartModulo, |
- 2, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>( |
- static_cast<BinaryMathCFunction>(&DartModulo))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcAtan2, |
- 2, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>( |
- static_cast<BinaryMathCFunction>(&atan2_ieee))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcFloor, |
- 1, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>(static_cast<UnaryMathCFunction>(&floor))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcCeil, |
- 1, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>(static_cast<UnaryMathCFunction>(&ceil))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcTrunc, |
- 1, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>(static_cast<UnaryMathCFunction>(&trunc))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcRound, |
- 1, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>(static_cast<UnaryMathCFunction>(&round))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcCos, |
- 1, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>(static_cast<UnaryMathCFunction>(&cos))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcSin, |
- 1, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>(static_cast<UnaryMathCFunction>(&sin))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcAsin, |
- 1, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>(static_cast<UnaryMathCFunction>(&asin))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcAcos, |
- 1, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>(static_cast<UnaryMathCFunction>(&acos))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcTan, |
- 1, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>(static_cast<UnaryMathCFunction>(&tan))); |
- |
-DEFINE_RAW_LEAF_RUNTIME_ENTRY( |
- LibcAtan, |
- 1, |
- true /* is_float */, |
- reinterpret_cast<RuntimeFunction>(static_cast<UnaryMathCFunction>(&atan))); |
- |
const RuntimeEntry& InvokeMathCFunctionInstr::TargetFunction() const { |
switch (recognized_kind_) { |