Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Unified Diff: runtime/vm/intermediate_language.cc

Issue 2960413002: Omit JIT compiler from precompiled runtime on ARM, ARM64 and IA32. (Closed)
Patch Set: Moved trace_irregexp flag to flag_list.h Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/flag_list.h ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_) {
« no previous file with comments | « runtime/vm/flag_list.h ('k') | runtime/vm/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698