diff options
author | Alon Zakai <azakai@google.com> | 2021-02-01 21:06:47 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 13:06:47 -0800 |
commit | 02f8c56aad18a2715904d1d5e0951b25bf7749c3 (patch) | |
tree | f24b0313226a3803a32f30771b782c08b4076048 /test | |
parent | a8a2693fa6382e7e07feb6807d8681ecaf740cc3 (diff) | |
download | binaryen-02f8c56aad18a2715904d1d5e0951b25bf7749c3.tar.gz binaryen-02f8c56aad18a2715904d1d5e0951b25bf7749c3.tar.bz2 binaryen-02f8c56aad18a2715904d1d5e0951b25bf7749c3.zip |
[GC] Don't emit i31ref in fuzzer (#3531)
That type is non-nullable, so we need to disable it until we fully support that.
Right now if we emit such locals we immediately get a validation error.
With this change the fuzzer can run at least a few thousand iterations with
no errors once more.
Diffstat (limited to 'test')
-rw-r--r-- | test/passes/translate-to-fuzz_all-features_metrics_noprint.txt | 63 |
1 files changed, 32 insertions, 31 deletions
diff --git a/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt b/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt index 083d7ce8f..2348b7418 100644 --- a/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt +++ b/test/passes/translate-to-fuzz_all-features_metrics_noprint.txt @@ -1,38 +1,39 @@ total - [events] : 1 - [exports] : 7 - [funcs] : 8 + [events] : 2 + [exports] : 8 + [funcs] : 9 [globals] : 6 [imports] : 5 [memory-data] : 22 - [table-data] : 1 - [total] : 461 - [vars] : 11 + [table-data] : 3 + [total] : 549 + [vars] : 37 + AtomicFence : 1 + AtomicNotify : 1 AtomicRMW : 1 - Binary : 72 - Block : 40 - Break : 5 - Call : 13 - CallRef : 1 - Const : 124 - Drop : 3 - GlobalGet : 20 - GlobalSet : 11 - I31Get : 1 - I31New : 8 - If : 17 - Load : 19 - LocalGet : 34 + Binary : 80 + Block : 69 + Break : 10 + Call : 11 + CallRef : 3 + Const : 117 + Drop : 7 + GlobalGet : 30 + GlobalSet : 16 + If : 24 + Load : 26 + LocalGet : 35 LocalSet : 18 - Loop : 4 + Loop : 9 + MemoryFill : 1 MemoryInit : 1 - Nop : 8 - RefFunc : 1 - RefNull : 11 - Return : 14 - SIMDExtract : 2 - Select : 1 - Store : 3 - TupleExtract : 1 - TupleMake : 8 - Unary : 20 + Nop : 24 + RefFunc : 3 + RefIs : 2 + RefNull : 9 + Return : 18 + SIMDExtract : 1 + Select : 2 + Store : 2 + TupleMake : 2 + Unary : 26 |