[webkit-changes] [WebKit/WebKit] e23d00: [JSC][Wasm] Update m_offset in Wasm::FunctionParse...

Commit Queue noreply at github.com
Tue May 14 07:31:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e23d00d45d69fc147c7501f4cb8bf58003dd27f8
      https://github.com/WebKit/WebKit/commit/e23d00d45d69fc147c7501f4cb8bf58003dd27f8
  Author: Max Rottenkolber <maximilian at igalia.com>
  Date:   2024-05-14 (Tue, 14 May 2024)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmFunctionParser.h

  Log Message:
  -----------
  [JSC][Wasm] Update m_offset in Wasm::FunctionParser::parseNestedBlocksEagerly before invoking addBlock callback
https://bugs.webkit.org/show_bug.cgi?id=273180

Reviewed by Justin Michaud.

I think this is the right fix because JSC::Wasm::Parser::parseBlockSignature
(which implements the general case for this parsing step) updates m_offset
"at the same time".

* Source/JavaScriptCore/wasm/WasmFunctionParser.h:
(JSC::Wasm::FunctionParser<Context>::parseNestedBlocksEagerly):

Canonical link: https://commits.webkit.org/278756@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list