Bug 285995
| Summary: | [JSC] `LIKELY` for `isJSArray(this)` in `ArrayPrototype` | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sosuke Suzuki <aosukeke> |
| Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Local Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sosuke Suzuki
Since we can almost always assume that the this of an
ArrayPrototype function is a JSArray, we should use LIKELY.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sosuke Suzuki
Pull request: https://github.com/WebKit/WebKit/pull/39081
EWS
Committed 288989@main (f231e148292e): <https://commits.webkit.org/288989@main>
Reviewed commits have been landed. Closing PR #39081 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/143020598>