Everywhere: Fix typos - act III
Some checks are pending
CI / macOS, arm64, Sanitizer_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Fuzzers_CI, Clang (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, GNU (push) Waiting to run
CI / Linux, x86_64, Sanitizer_CI, Clang (push) Waiting to run
Package the js repl as a binary artifact / macOS, arm64 (push) Waiting to run
Package the js repl as a binary artifact / Linux, x86_64 (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Label PRs with merge conflicts / auto-labeler (push) Waiting to run
Push notes / build (push) Waiting to run

This commit is contained in:
Viktor Szépe 2025-04-09 17:02:30 +00:00 committed by Sam Atkins
commit 19f88f96dc
Notes: github-actions[bot] 2025-06-16 13:21:54 +00:00
12 changed files with 16 additions and 16 deletions

View file

@ -1149,7 +1149,7 @@ ParseResult<CodeSection::Code> CodeSection::Code::parse(Stream& stream)
ScopeLogger<WASM_BINPARSER_DEBUG> logger("Code"sv);
auto size = TRY_READ(stream, LEB128<u32>, ParseError::InvalidSize);
// Emprically, if there are `size` bytes to be read, then there's around
// Empirically, if there are `size` bytes to be read, then there's around
// `size / 2` instructions, so we pass that as our size hint.
auto func = TRY(Func::parse(stream, size / 2));