Merge pull request #12236 from ethereum/removeEmscriptenWorkaround

Remove old compatibility patch to soljson.js.
This commit is contained in:
Daniel Kirchner authored and GitHub committed 2021-11-04 15:31:02 +01:00
commit df6f930408
2 files changed
+4 -4

No files matched your search

+4
View File
@@ -31,6 +31,10 @@ Bugfixes:
* Yul IR Generator: Do not output empty switches/if-bodies for empty contracts.
Build System:
* Remove obsolete compatibility workaround for emscripten builds.
Important Bugfixes in Experimental Features:
* Yul IR Generator: Changes to function return variables referenced in modifier invocation arguments were not properly forwarded if there was more than one return variable.
-4
View File
@@ -68,10 +68,6 @@ emcmake cmake \
-DTESTS=0 \
..
make soljson
# Patch soljson.js for backwards compatibility.
# TODO: remove this with 0.7.
# "viiiii" encodes the signature of the callback function.
sed -i -e 's/addFunction(func,sig){/addFunction(func,sig){sig=sig||"viiiii";/' libsolc/soljson.js
cd ..
mkdir -p upload