[webkit-changes] [WebKit/WebKit] b30a31: [Wasm-GC] Fix structure `TypeInfo` for `JSWebAssem...

Tim Chevalier noreply at github.com
Sat Jan 28 19:08:01 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b30a31d0ef40e5684e662bbf69a72362e591bca1
      https://github.com/WebKit/WebKit/commit/b30a31d0ef40e5684e662bbf69a72362e591bca1
  Author: Tim Chevalier <tjc at igalia.com>
  Date:   2023-01-28 (Sat, 28 Jan 2023)

  Changed paths:
    A JSTests/wasm/gc/bug250613.js
    M Source/JavaScriptCore/wasm/js/JSWebAssemblyStruct.h

  Log Message:
  -----------
  [Wasm-GC] Fix structure `TypeInfo` for `JSWebAssemblyStruct`
https://bugs.webkit.org/show_bug.cgi?id=250613

Reviewed by Yusuke Suzuki.

Previously, the `JSWebAssemblyStruct::createStructure()` method was passing in
`FinalObjectType` as its `TypeInfo` when creating a `Structure`. This was
inconsistent with the declaration of the `JSWebAssemblyStruct` class, which
inherits from `JSNonFinalObject`. Use `ObjectType` to be consistent with
the inheritance declaration.

* Source/JavaScriptCore/wasm/js/JSWebAssemblyStruct.h:

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




More information about the webkit-changes mailing list