[webkit-changes] [WebKit/WebKit] 9911c6: WasmOMGIRGenerator32_64: use B3 type to detect Int...

aoikonomopoulos noreply at github.com
Wed Oct 30 02:06:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9911c60317e9ec37781baf5af3db2a29d5d91de7
      https://github.com/WebKit/WebKit/commit/9911c60317e9ec37781baf5af3db2a29d5d91de7
  Author: Angelos Oikonomopoulos <angelos at igalia.com>
  Date:   2024-10-30 (Wed, 30 Oct 2024)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmOMGIRGenerator32_64.cpp

  Log Message:
  -----------
  WasmOMGIRGenerator32_64: use B3 type to detect Int64 returns
https://bugs.webkit.org/show_bug.cgi?id=282246

Reviewed by Justin Michaud.

Using isI64() to detect calls that return Int64 is not enough, we need
to also catch other wasm types that have an Int64 representation.

* Source/JavaScriptCore/wasm/WasmOMGIRGenerator32_64.cpp:
(JSC::Wasm::OMGIRGenerator::toB3ResultType):
(JSC::Wasm::OMGIRGenerator::fillCallResults):
(JSC::Wasm::OMGIRGenerator::emitIndirectCall):
(JSC::Wasm::OMGIRGenerator::createCallPatchpoint):
(JSC::Wasm::OMGIRGenerator::addCall):

Canonical link: https://commits.webkit.org/285889@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