Bug 151313
| Summary: | FTLLazySlowPaths should be able to handle being passed the zero register as a location | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Saam Barati <saam> |
| Component: | JavaScriptCore | Assignee: | Saam Barati <saam> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | benjamin, fpizlo, ggaren, gskachkov, keith_miller, mark.lam, msaboff, oliver, sukolsak, ysuzuki |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Saam Barati
On ARM64, SP and ZR are the same register and the meaning of the register is dependent on the current instruction.
LLVM might pass us ZR (which we interpret as SP) as the location of some argument when it proves that the
argument is zero. We should be able to gracefully handle this.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Saam Barati
*** This bug has been marked as a duplicate of bug 151193 ***