[JSC] Set up wasm stack |this| first
commit9160999d4acfa4b3a9e290d9146b3879b6d5059c
authorysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Jun 2022 07:45:56 +0000 (23 07:45 +0000)
committerysuzuki@apple.com <ysuzuki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 23 Jun 2022 07:45:56 +0000 (23 07:45 +0000)
tree2a624d97055ff56e75818744da73518772996e3e
parentdd8db5dd83842e89cd9f09a07d9275c2ab8ca55d
[JSC] Set up wasm stack |this| first
https://bugs.webkit.org/show_bug.cgi?id=241907
rdar://problem/94397072

Reviewed by Mark Lam.

We should set up the stack's |thisValue| first.

* Source/JavaScriptCore/wasm/WasmAirIRGenerator.cpp:
(JSC::Wasm::AirIRGenerator::AirIRGenerator):

link: https://commits.webkit.org/251775@main
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@295770 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/wasm/WasmAirIRGenerator.cpp