[webkit-changes] [WebKit/WebKit] 506f27: [Wasm-GC] Handle ref-typed constants in bytecode d...
Tim Chevalier
noreply at github.com
Tue Feb 21 16:10:22 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 506f2789666c86c558698a8df61226b8d366658e
https://github.com/WebKit/WebKit/commit/506f2789666c86c558698a8df61226b8d366658e
Author: Tim Chevalier <tjc at igalia.com>
Date: 2023-02-21 (Tue, 21 Feb 2023)
Changed paths:
M Source/JavaScriptCore/bytecode/BytecodeDumper.cpp
Log Message:
-----------
[Wasm-GC] Handle ref-typed constants in bytecode dumper
https://bugs.webkit.org/show_bug.cgi?id=252539
Reviewed by Justin Michaud.
The bytecode dumper was crashing in formatConstant() if a constant
that's not a numeric, vector, funcref, or externref appears, e.g. a
typed reference. Added a case for typed references.
* Source/JavaScriptCore/bytecode/BytecodeDumper.cpp:
(JSC::Wasm::BytecodeDumper::formatConstant const):
Canonical link: https://commits.webkit.org/260637@main
More information about the webkit-changes
mailing list