summaryrefslogtreecommitdiff
path: root/test/example
diff options
context:
space:
mode:
Diffstat (limited to 'test/example')
-rw-r--r--test/example/c-api-kitchen-sink.txt2
-rw-r--r--test/example/stack-utils.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/example/c-api-kitchen-sink.txt b/test/example/c-api-kitchen-sink.txt
index d92009c35..807730e27 100644
--- a/test/example/c-api-kitchen-sink.txt
+++ b/test/example/c-api-kitchen-sink.txt
@@ -22,7 +22,7 @@ BinaryenFeatureTailCall: 128
BinaryenFeatureReferenceTypes: 256
BinaryenFeatureMultivalue: 512
BinaryenFeatureGC: 1024
-BinaryenFeatureAll: 2047
+BinaryenFeatureAll: 4095
(f32.neg
(f32.const -33.61199951171875)
)
diff --git a/test/example/stack-utils.cpp b/test/example/stack-utils.cpp
index d35d30120..9f20b8c2a 100644
--- a/test/example/stack-utils.cpp
+++ b/test/example/stack-utils.cpp
@@ -11,8 +11,8 @@
using namespace wasm;
-MixedArena allocator;
-Builder builder(allocator);
+Module module;
+Builder builder(module);
void test_remove_nops() {
std::cout << ";; Test removeNops\n";