summaryrefslogtreecommitdiff
path: root/test/spec/old_import.wast
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2020-11-08 12:24:27 -0800
committerGitHub <noreply@github.com>2020-11-08 12:24:27 -0800
commit47607d445b62c98017ce4b9c6cc69b61fae85aa5 (patch)
treee9c3350b96e21183c95f61cbf4fcfba8cf7257ab /test/spec/old_import.wast
parentc8249b553f89ede0b4dedd6c00fe7f9f7e745de2 (diff)
downloadbinaryen-47607d445b62c98017ce4b9c6cc69b61fae85aa5.tar.gz
binaryen-47607d445b62c98017ce4b9c6cc69b61fae85aa5.tar.bz2
binaryen-47607d445b62c98017ce4b9c6cc69b61fae85aa5.zip
Remove dead code and unused includes. NFC. (#3328)
Specifically try to cleanup use of asm_v_wasm.h and asmjs constants.
Diffstat (limited to 'test/spec/old_import.wast')
-rw-r--r--test/spec/old_import.wast14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/spec/old_import.wast b/test/spec/old_import.wast
index 19ea25202..36638a994 100644
--- a/test/spec/old_import.wast
+++ b/test/spec/old_import.wast
@@ -54,11 +54,11 @@
;; Globals
(module
- (import "spectest" "global" (global i32))
- (global (import "spectest" "global") i32)
+ (import "spectest" "global_i32" (global i32))
+ (global (import "spectest" "global_i32") i32)
- (import "spectest" "global" (global $x i32))
- (global $y (import "spectest" "global") i32)
+ (import "spectest" "global_i32" (global $x i32))
+ (global $y (import "spectest" "global_i32") i32)
(func (export "get-0") (result i32) (global.get 0))
(func (export "get-1") (result i32) (global.get 1))
@@ -86,9 +86,9 @@
"type mismatch"
)
-(module (import "spectest" "global" (global i64)))
-(module (import "spectest" "global" (global f32)))
-(module (import "spectest" "global" (global f64)))
+(module (import "spectest" "global_i64" (global i64)))
+(module (import "spectest" "global_i64" (global f32)))
+(module (import "spectest" "global_i64" (global f64)))
;; Tables