Bug 99263 - Structure checks that are hoisted should contribute their OSR exit profiling to the bytecode instructions that would have had the checks had they not been hoisted
Summary: Structure checks that are hoisted should contribute their OSR exit profiling ...
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: 98606
  Show dependency treegraph
 
Reported: 2012-10-13 23:15 PDT by Filip Pizlo
Modified: 2012-10-13 23:15 PDT (History)
6 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 2012-10-13 23:15:40 PDT
Currently structure check hoisting almost completely breaks OSR exit profiling of structure checks.  If a hoisted structure check fails, it only tells OSR exit profiling not to hoist that check in the future.  But that implies that we might have to do one additional round of recompilation just to discover that we shouldn't have been emitting a structure check to begin with.