Bug 167574
| Summary: | Move private flag to SymbolImpl and create the subclass `PrivateSymbolImpl` | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> |
| Component: | JavaScriptCore | Assignee: | Yusuke Suzuki <ysuzuki> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Yusuke Suzuki
Now, the private symbol is,
1. it is SymbolImpl
2. and it is managed by VM's private symbol table
This patch moves this private symbol flag to SymbolImpl itself.
It allows us to define PrivateSymbols without interactiving VMs.
VM's table is used for mapping between public and private symbols *in the parser*.
It is more correct in the current use cases since we use `xxx.@iterator` for public @iterator symbol.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Yusuke Suzuki
*** This bug has been marked as a duplicate of bug 174935 ***