From b15a13ef84b5a12aadeb1200521a89a2c95dce19 Mon Sep 17 00:00:00 2001 From: "Kirill R." Date: Tue, 8 Oct 2024 20:55:47 +0300 Subject: wasm-decompile: add function index comments (#2482) --- test/decompile/basic.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/decompile/basic.txt') diff --git a/test/decompile/basic.txt b/test/decompile/basic.txt index b8cdaead..6564de89 100644 --- a/test/decompile/basic.txt +++ b/test/decompile/basic.txt @@ -149,9 +149,9 @@ data d_abcdefghijklmnoqrstuvwxyzabc(offset: 100) = data d_c(offset: 200) = "hi"; data d_d(offset: 300) = "Hello, World!\0a\00"; -import function ns_fi(); +import function ns_fi(); // func0 -export function f(a:int, b:int):int { +export function f(a:int, b:int):int { // func1 var c:long = 8L; var d:float = 6.0f; var e:double = 7.0; @@ -191,7 +191,7 @@ export function f(a:int, b:int):int { return 0; } -function f_c() { +function f_c() { // func2 var a:int; loop L_a { a = 1; @@ -200,13 +200,13 @@ function f_c() { a; } -function signature() { +function signature() { // func3 } -function signature_1() { +function signature_1() { // func4 } -function f_f() { +function f_f() { // func5 } ;;; STDOUT ;;) -- cgit v1.2.3