Bug 216117

Summary: [JSC] We should not watch all toString / valueOf in JSObject::ordinaryToPrimitive
Product: WebKit Reporter: Yusuke Suzuki <ysuzuki>
Component: JavaScriptCoreAssignee: Yusuke Suzuki <ysuzuki>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

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>