Bug 151313 - FTLLazySlowPaths should be able to handle being passed the zero register as a location
Summary: FTLLazySlowPaths should be able to handle being passed the zero register as a...
Status: RESOLVED DUPLICATE of bug 151193
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Saam Barati
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-16 10:59 PST by Saam Barati
Modified: 2015-11-16 11:02 PST (History)
10 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***