From 3af38072d662c5861d8cb245dd0de044d5ba48f9 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Mon, 16 Dec 2019 16:47:32 -0800 Subject: [PATCH 1/2] Fix misc. tests - Remove a function from memory-packing_all-features.wast, because it does not test anything meaningful after #2529. - Rename a test file to use `--all-features`; it started failing I guess because `exnref` requires also reference type features, but not sure why it was OK so far. --- ...k-ir_optimize-stack-ir_print-stack-ir_all-features.txt} | 0 ...-ir_optimize-stack-ir_print-stack-ir_all-features.wast} | 0 test/passes/memory-packing_all-features.wast | 7 ------- 3 files changed, 7 deletions(-) rename test/passes/{generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.txt => generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt} (100%) rename test/passes/{generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.wast => generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.wast} (100%) diff --git a/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.txt b/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt similarity index 100% rename from test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.txt rename to test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.txt diff --git a/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.wast b/test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.wast similarity index 100% rename from test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_enable-exception-handling.wast rename to test/passes/generate-stack-ir_optimize-stack-ir_print-stack-ir_all-features.wast diff --git a/test/passes/memory-packing_all-features.wast b/test/passes/memory-packing_all-features.wast index 6cadf6b04a6..c8babf97c76 100644 --- a/test/passes/memory-packing_all-features.wast +++ b/test/passes/memory-packing_all-features.wast @@ -27,11 +27,4 @@ (i32.const 0) ) ) - (func $bar - (drop - (loop (result i32) - (i32.const 42) - ) - ) - ) ) From a539585cd2afacd620d9f2484b363e33734100d6 Mon Sep 17 00:00:00 2001 From: Heejin Ahn Date: Mon, 16 Dec 2019 17:43:12 -0800 Subject: [PATCH 2/2] Update output --- test/passes/memory-packing_all-features.txt | 7 ------- 1 file changed, 7 deletions(-) diff --git a/test/passes/memory-packing_all-features.txt b/test/passes/memory-packing_all-features.txt index 4d5b40fcf0a..1c8244c1644 100644 --- a/test/passes/memory-packing_all-features.txt +++ b/test/passes/memory-packing_all-features.txt @@ -33,11 +33,4 @@ ) (unreachable) ) - (func $bar (; 1 ;) - (drop - (loop $loop-in (result i32) - (i32.const 42) - ) - ) - ) )