[webkit-changes] [WebKit/WebKit] c24a49: [JSC] Fix Air Wasm call clobbering after tail-call...

Yusuke Suzuki noreply at github.com
Wed Dec 21 15:39:26 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c24a49a2c1bb91639400b3fd1b8c054461f79c87
      https://github.com/WebKit/WebKit/commit/c24a49a2c1bb91639400b3fd1b8c054461f79c87
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2022-12-21 (Wed, 21 Dec 2022)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmAirIRGenerator64.cpp
    M Source/JavaScriptCore/wasm/WasmAirIRGeneratorBase.h
    M Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp

  Log Message:
  -----------
  [JSC] Fix Air Wasm call clobbering after tail-call patch
https://bugs.webkit.org/show_bug.cgi?id=249749
rdar://103573703

Reviewed by Mark Lam.

tail-call change (258062 at main) accidentally dropped normal wasm call's clobbering information in Air,
causing crash in Amazon web page. This patch recovers it.

* Source/JavaScriptCore/wasm/WasmAirIRGenerator64.cpp:
(JSC::Wasm::AirIRGenerator64::emitCallPatchpoint):
* Source/JavaScriptCore/wasm/WasmAirIRGeneratorBase.h:
(JSC::Wasm::ExpressionType>::addCall):
* Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp:
(JSC::Wasm::B3IRGenerator::createCallPatchpoint):

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




More information about the webkit-changes mailing list