Bug 216117 - [JSC] We should not watch all toString / valueOf in JSObject::ordinaryToPrimitive
Summary: [JSC] We should not watch all toString / valueOf in JSObject::ordinaryToPrimi...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Yusuke Suzuki
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-09-02 21:52 PDT by Yusuke Suzuki
Modified: 2020-09-09 21:53 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 Yusuke Suzuki 2020-09-02 21:52:19 PDT
1. If we do that for StringObjectStructures, then we do not need to do this here since DFG is currently only seeing StringObjectStructure.
2. Or, if DFG carefully checks toString or valueOf based on the context, then we do not need to watch here since toString / valueOf caching will watch.
Comment 1 Radar WebKit Bug Importer 2020-09-09 21:53:15 PDT
<rdar://problem/68618575>