[webkit-changes] [WebKit/WebKit] 65ee80: direct eval operations should use their caller's c...
Keith Miller
noreply at github.com
Fri May 10 09:37:14 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 65ee8082f55782b90fe07e43fd44150a2d7e04f5
https://github.com/WebKit/WebKit/commit/65ee8082f55782b90fe07e43fd44150a2d7e04f5
Author: Keith Miller <keith_miller at apple.com>
Date: 2024-05-10 (Fri, 10 May 2024)
Changed paths:
A JSTests/stress/direct-eval-set-to-42.js
M Source/JavaScriptCore/jit/JITOperations.cpp
Log Message:
-----------
direct eval operations should use their caller's callee to get the VM
https://bugs.webkit.org/show_bug.cgi?id=273979
rdar://127766799
Reviewed by Yusuke Suzuki.
Since `eval` could be set to anything, including a non-cell primitive,
we can't use it get a VM. The caller's frame should have a real callee
though so we use that instead.
* JSTests/stress/direct-eval-set-to-42.js: Added.
(foo):
(bar):
* Source/JavaScriptCore/jit/JITOperations.cpp:
(JSC::JSC_DEFINE_JIT_OPERATION):
Canonical link: https://commits.webkit.org/278612@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