WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 121518
The way FixupPhase uses alwaysUnboxSimplePrimitives() is almost certainly wrong
https://bugs.webkit.org/show_bug.cgi?id=121518
Summary
The way FixupPhase uses alwaysUnboxSimplePrimitives() is almost certainly wrong
Filip Pizlo
Reported
2013-09-17 14:15:37 PDT
What it wants to do is say that even if a local isn't used as a simple primitive but is predicted to be a simple primitive, then it should be unboxed. But what the logic currently does is asks for a local to be unboxed even if it's not predicted to have a type that is a candidate for unboxing; i.e. it accomplishes nothing. More likely it should walk all locals up-front and if they have a "simple primitive" prediction and alwaysUnboxSimplePrimitives() is true, then mark them as being profitable.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug