WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 185215
The generateConditionsForPropertyBlah API should have a nicer handling of custom accessors
https://bugs.webkit.org/show_bug.cgi?id=185215
Summary
The generateConditionsForPropertyBlah API should have a nicer handling of cus...
Filip Pizlo
Reported
2018-05-02 13:59:04 PDT
This code smells funny: if (!slot.isCacheableCustom()) { conditionSet = generateConditionsForPrototypePropertyHit( vm, codeBlock, exec, structure, slot.slotBase(), propertyName.impl()); } else { conditionSet = generateConditionsForPrototypePropertyHitCustom( vm, codeBlock, exec, structure, slot.slotBase(), propertyName.impl()); } Maybe the `if` should be inside generateConditionsForPrototypePropertyHit.
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