diff --git a/src/de/inetsoftware/jwebassembly/module/WasmCallInstruction.java b/src/de/inetsoftware/jwebassembly/module/WasmCallInstruction.java index 10ae130..f01c05d 100644 --- a/src/de/inetsoftware/jwebassembly/module/WasmCallInstruction.java +++ b/src/de/inetsoftware/jwebassembly/module/WasmCallInstruction.java @@ -1,5 +1,5 @@ /* - Copyright 2018 - 2021 Volker Berlin (i-net software) + Copyright 2018 - 2022 Volker Berlin (i-net software) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -177,4 +177,12 @@ class WasmCallInstruction extends WasmInstruction { paramCount--; } } + + /** + * Only used for debugging + */ + @Override + public String toString() { + return getClass().getSimpleName() + ": call $" + name.signatureName + (comment == null ? "" : " ;; \"" + comment + "\""); + } }