From 5f13d37fdce82d5a2c02ae58dd611b0498bdfd49 Mon Sep 17 00:00:00 2001 From: Jordi Baylina Date: Mon, 31 Aug 2020 11:13:26 +0200 Subject: [PATCH] Better info in signal not assigned --- ports/wasm/build_runtime.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/wasm/build_runtime.js b/ports/wasm/build_runtime.js index 442e56f..ca5a4b9 100644 --- a/ports/wasm/build_runtime.js +++ b/ports/wasm/build_runtime.js @@ -384,9 +384,9 @@ module.exports = function buildRuntime(module, builder) { "error", c.i32_const(errs.ACCESSING_NOT_ASSIGNED_SIGNAL.code), c.i32_const(errs.ACCESSING_NOT_ASSIGNED_SIGNAL.pointer), - c.i32_const(0), - c.i32_const(0), - c.i32_const(0), + c.getLocal("cIdx"), + c.getLocal("component"), + c.getLocal("signal"), c.i32_const(0) ) )