diff --git a/samples/benchmark/pom.xml b/samples/benchmark/pom.xml index 9f0483769..5bc32b762 100644 --- a/samples/benchmark/pom.xml +++ b/samples/benchmark/pom.xml @@ -165,7 +165,8 @@ true WEBASSEMBLY FULL - 8 + 1 + 16 @@ -179,7 +180,8 @@ true C FULL - 8 + 1 + 16 diff --git a/samples/benchmark/src/main/webapp/teavm-wasm.js b/samples/benchmark/src/main/webapp/teavm-wasm.js index 039fce4b7..45378e8d6 100644 --- a/samples/benchmark/src/main/webapp/teavm-wasm.js +++ b/samples/benchmark/src/main/webapp/teavm-wasm.js @@ -93,7 +93,7 @@ var Benchmark = function() { function tick() { var exports = this.instance.exports; exports.tick(); - var exception = exports.sys_catchException(); + var exception = exports.teavm_catchException(); if (exception !== 0) { console.log("Exception: " + exception); }