summaryrefslogtreecommitdiff
path: root/test/dynamicLibrary.fromasm
diff options
context:
space:
mode:
authorThomas Lively <7121787+tlively@users.noreply.github.com>2020-04-09 11:41:40 -0700
committerGitHub <noreply@github.com>2020-04-09 11:41:40 -0700
commit9c75b8f8ef58347f2fab44463f9a65eb37212742 (patch)
tree8660dbae4ade8d07c7dc62bc76da0da13e35dd73 /test/dynamicLibrary.fromasm
parentb3d79f406ab80d5f36995e03385df3903e52f46e (diff)
downloadbinaryen-9c75b8f8ef58347f2fab44463f9a65eb37212742.tar.gz
binaryen-9c75b8f8ef58347f2fab44463f9a65eb37212742.tar.bz2
binaryen-9c75b8f8ef58347f2fab44463f9a65eb37212742.zip
Remove function index printing (#2742)
`BinaryIndexes` was only used in two places (Print.cpp and wasm-binary.h), so it didn't seem to be a great fit for module-utils.h. This change moves it to wasm-binary.h and removes its usage in Print.cpp. This means that function indexes are no longer printed, but those were of limited utility and were the source of annoying noise when updating tests, anyway.
Diffstat (limited to 'test/dynamicLibrary.fromasm')
-rw-r--r--test/dynamicLibrary.fromasm6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dynamicLibrary.fromasm b/test/dynamicLibrary.fromasm
index 8c2cbe319..d9095b6b3 100644
--- a/test/dynamicLibrary.fromasm
+++ b/test/dynamicLibrary.fromasm
@@ -15,7 +15,7 @@
(export "__post_instantiate" (func $__post_instantiate))
(export "runPostSets" (func $runPostSets))
(export "_global" (global $_global))
- (func $__ZN3FooC2Ev (; 2 ;) (; has Stack IR ;) (param $0 i32)
+ (func $__ZN3FooC2Ev (; has Stack IR ;) (param $0 i32)
(local.set $0
(global.get $STACKTOP)
)
@@ -43,10 +43,10 @@
(local.get $0)
)
)
- (func $runPostSets (; 3 ;) (; has Stack IR ;)
+ (func $runPostSets (; has Stack IR ;)
(nop)
)
- (func $__post_instantiate (; 4 ;) (; has Stack IR ;)
+ (func $__post_instantiate (; has Stack IR ;)
(global.set $STACKTOP
(i32.add
(global.get $memoryBase$asm2wasm$import)