| Summary: | Introduce SymbolType into SpeculativeTypes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||
| Component: | JavaScriptCore | Assignee: | Yusuke Suzuki <ysuzuki> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, darin, fpizlo, ggaren, oliver | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | 140435 | ||||||
| Bug Blocks: | 145000, 145001 | ||||||
| Attachments: |
|
||||||
|
Description
Yusuke Suzuki
2015-03-12 21:38:22 PDT
CellOther is used for non-user-visible Cell objects. So current status (categorizing Symbol into CellOther type) is not correct. Let's introduce SpecSymbol at first. In the separated patch, I'll introduce SymbolUse. Created attachment 253121 [details]
Patch
Comment on attachment 253121 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253121&action=review > Source/JavaScriptCore/dfg/DFGConstantFoldingPhase.cpp:454 > + if (m_state.forNode(node->child1()).m_type & ~(SpecFullNumber | SpecBoolean | SpecString | SpecSymbol)) ToPrimitive is used in string concatnation. It is tested in tests/stress/dfg-to-primitive-pass-symbol.js Comment on attachment 253121 [details] Patch Clearing flags on attachment: 253121 Committed r184340: <http://trac.webkit.org/changeset/184340> All reviewed patches have been landed. Closing bug. |