diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2021-07-02 15:23:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-02 08:23:26 -0700 |
commit | ea20225d793b6c743703ea04cd9bb46c07384853 (patch) | |
tree | a880a781868c3c5a23f96d7f4f7cb57bc6e34a18 /test/lit/passes/optimize-instructions-gc.wast | |
parent | 45703971dffbbb1e4bbf7b026ca01cabf18b989a (diff) | |
download | binaryen-ea20225d793b6c743703ea04cd9bb46c07384853.tar.gz binaryen-ea20225d793b6c743703ea04cd9bb46c07384853.tar.bz2 binaryen-ea20225d793b6c743703ea04cd9bb46c07384853.zip |
Add option to add checks for all items (#3961)
Add an --all-items flag to update_lit_checks.py to emit checks for all module
items, not just those that match items in the input. Update two tests to use
generated input with the new flag.
Also, to improve readability, insert an empty line between consecutive checks
for different items.
Diffstat (limited to 'test/lit/passes/optimize-instructions-gc.wast')
-rw-r--r-- | test/lit/passes/optimize-instructions-gc.wast | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lit/passes/optimize-instructions-gc.wast b/test/lit/passes/optimize-instructions-gc.wast index 3f8c21bfc..9e4ec450c 100644 --- a/test/lit/passes/optimize-instructions-gc.wast +++ b/test/lit/passes/optimize-instructions-gc.wast @@ -4,7 +4,9 @@ (module ;; CHECK: (type $struct (struct (field $i8 (mut i8)) (field $i16 (mut i16)) (field $i32 (mut i32)) (field $i64 (mut i64)))) + ;; CHECK: (type $array (array (mut i8))) + ;; CHECK: (import "env" "get-i32" (func $get-i32 (result i32))) (import "env" "get-i32" (func $get-i32 (result i32))) |