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