Bug 151313

Summary: FTLLazySlowPaths should be able to handle being passed the zero register as a location
Product: WebKit Reporter: Saam Barati <saam>
Component: JavaScriptCoreAssignee: 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   

Description Saam Barati 2015-11-16 10:59:29 PST
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.
Comment 1 Saam Barati 2015-11-16 11:02:08 PST

*** This bug has been marked as a duplicate of bug 151193 ***