From a26402e60e1b5bf474998f1b3c1cb5a880fbeeb9 Mon Sep 17 00:00:00 2001 From: Brendan Hansen Date: Fri, 17 Feb 2023 22:38:50 -0600 Subject: [PATCH] bugfix with large switch statements and spelling fix --- compiler/src/wasm_emit.c | 2 +- core/container/iter.onyx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/src/wasm_emit.c b/compiler/src/wasm_emit.c index 1a9c7065..c0d3e9df 100644 --- a/compiler/src/wasm_emit.c +++ b/compiler/src/wasm_emit.c @@ -4611,7 +4611,7 @@ OnyxWasmModule onyx_wasm_module_create(bh_allocator alloc) { }; bh_arena* eid = bh_alloc(global_heap_allocator, sizeof(bh_arena)); - bh_arena_init(eid, global_heap_allocator, 8196); + bh_arena_init(eid, global_heap_allocator, 16 * 1024 * 1024); module.extended_instr_data = eid; module.extended_instr_alloc = bh_arena_allocator(eid); diff --git a/core/container/iter.onyx b/core/container/iter.onyx index 5cabaf3a..0488512e 100644 --- a/core/container/iter.onyx +++ b/core/container/iter.onyx @@ -29,7 +29,7 @@ use core.intrinsics.types {type_is_struct} // -// Thge standard function to convert something to an Iterator. +// The standard function to convert something to an Iterator. // For-loops currently do not use this function to determine // how to iterate over something unknown, but that could be // a feature down the line. -- 2.25.1