Bug 209757 - We shouldn't need the MayHaveIndexedAccessors bit in TypeInfoFlags
Summary: We shouldn't need the MayHaveIndexedAccessors bit in TypeInfoFlags
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-03-30 12:23 PDT by Keith Miller
Modified: 2020-03-30 12:24 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Miller 2020-03-30 12:23:32 PDT
We only seem to use MayHaveIndexedAccessors for checking if the prototype chain may intercept indexed properties. We should probably be able to compute that same information via (indexingShape != SlowPutArrayStorageShape || classInfo().getOwnPropertySlotByIndex != JSObject::getOwnPropertySlotByIndex || globalObject().isHavingABadTime()) since we will already get the structure in order to do the prototype chain walk.
Comment 1 Radar WebKit Bug Importer 2020-03-30 12:24:00 PDT
<rdar://problem/61067666>