Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick 65ee808. rdar://127766799
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 Canonical link: https://commits.webkit.org/278598.2@safari-7619.1.13-branch
- Loading branch information