Bug 249495
Summary: | Introduce CallFrame::returnPCForInspection(), and removed some unused code. | ||
---|---|---|---|
Product: | WebKit | Reporter: | Mark Lam <mark.lam> |
Component: | JavaScriptCore | Assignee: | Mark Lam <mark.lam> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Mark Lam
CallFrame::returnPC() was relying on ReturnAddressPtr, which in turn expected to be able to untag any arbitrary return address read from a stack frame. This will not always be possible when JITCage is enabled. Also, CallFrame::returnPC() is only used for debugging purposes. So, this patch will simplify its implementation and rename it to CallFrame::returnPCForInspection() to make it clear that it should only be used for debugging and analysis purposes.
We will also remove some related unused code.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103457282>
Mark Lam
Pull request: https://github.com/WebKit/WebKit/pull/7775
EWS
Committed 258023@main (689b0ba375c8): <https://commits.webkit.org/258023@main>
Reviewed commits have been landed. Closing PR #7775 and removing active labels.