Skip to content

Commit

Permalink
Merge pull request #143 from ewasm/binaryen-new
Browse files Browse the repository at this point in the history
Update Binaryen to 1.37.35
  • Loading branch information
axic authored Mar 12, 2018
2 parents 1b889ac + 7b0350d commit d383a9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmake/ProjectBinaryen.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ set(binaryen_other_libraries

ExternalProject_Add(binaryen
PREFIX ${prefix}
DOWNLOAD_NAME binaryen-1.37.29.tar.gz
DOWNLOAD_NAME binaryen-1.37.35.tar.gz
DOWNLOAD_DIR ${prefix}/downloads
SOURCE_DIR ${source_dir}
BINARY_DIR ${binary_dir}
URL https://github.com/WebAssembly/binaryen/archive/1.37.29.tar.gz
URL_HASH SHA256=f09f2ada74c37439a0d38d660a5636bc54771ee203386e39666bf7e2e42c4fd9
URL https://github.com/WebAssembly/binaryen/archive/1.37.35.tar.gz
URL_HASH SHA256=19439e41dc576446eaae0c4a8e07d4cd4c40aea7dfb0a6475b925686852f8006
CMAKE_ARGS
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
-DCMAKE_BUILD_TYPE=Release
Expand Down
2 changes: 1 addition & 1 deletion src/shell-interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ struct ShellExternalInterface : ModuleInstance::ExternalInterface {
<< import->name.str;
}

Literal callTable(Index index, LiteralList& arguments, WasmType result, ModuleInstance& instance) override {
Literal callTable(Index index, LiteralList& arguments, Type result, ModuleInstance& instance) override {
if (index >= table.size()) trap("callTable overflow");
auto* func = instance.wasm.getFunctionOrNull(table[index]);
if (!func) trap("uninitialized table element");
Expand Down

0 comments on commit d383a9a

Please sign in to comment.