pyodide/emsdk/patches/num_params.patch

12 lines
649 B
Diff
Raw Normal View History

2019-04-04 11:57:47 +00:00
--- a/emsdk/binaryen/tag-1.38.30/src/passes/FuncCastEmulation.cpp 2019-04-03 11:30:13.556074729 -0400
+++ b/emsdk/binaryen/tag-1.38.30/src/passes/FuncCastEmulation.cpp 2019-04-03 11:30:32.817143862 -0400
@@ -39,7 +39,7 @@
2018-03-30 17:08:06 +00:00
// This should be enough for everybody. (As described above, we need this
// to match when dynamically linking, and also dynamic linking is why we
// can't just detect this automatically in the module we see.)
2019-04-04 11:57:47 +00:00
-static const int NUM_PARAMS = 16;
+static const int NUM_PARAMS = 61; // needed by scipy.odr._odrpack
2019-04-04 11:57:47 +00:00
2018-03-30 17:08:06 +00:00
// Converts a value to the ABI type of i64.
2018-07-24 16:27:34 +00:00
static Expression* toABI(Expression* value, Module* module) {