From: Brendan Hansen Date: Sat, 18 Feb 2023 04:38:50 +0000 (-0600) Subject: bugfix with large switch statements and spelling fix X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=a26402e60e1b5bf474998f1b3c1cb5a880fbeeb9;p=onyx.git bugfix with large switch statements and spelling fix --- 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.