Bug 123677 - Get rid of baselineVersion() and consider calling alternative() instead of baselineAlternative() (or baselineVersion()) in most places
Summary: Get rid of baselineVersion() and consider calling alternative() instead of ba...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Filip Pizlo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-02 11:06 PDT by Filip Pizlo
Modified: 2013-11-02 11:06 PDT (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2013-11-02 11:06:36 PDT
It used to be the case that a CodeBlock only had an alternative() if it hadn't been jettisoned.  So if you wanted to find the baseline version of a DFG code block, you had to do special things (i.e. what baselineVersion() does) in case you had been jettisoned.

That's no longer the case.  DFG and FTL CodeBlocks always have an alternative() and it's always a baseline CodeBlock.

Also, baselineVersion() turns out to be the root of all evil if we've cleared all code.