Bug 148594
| Summary: | Make divots used in type profiler for function return types consistent. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Saam Barati <saam> |
| Component: | JavaScriptCore | Assignee: | Saam Barati <saam> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | basile_clement, benjamin, fpizlo, ggaren, joepeck, mark.lam, mmirman, msaboff, oliver, timothy, ysuzuki |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Saam Barati
We should use the first possible character that can describe a function:
"f" for "function ..."
"g" for "get ..."
"s" for "set ..."
"m" in "{ method() {...} }"
"[" in " { [computed()]() { } }
"(" in "(x)=>x"
"x" in "x=>x+2"
and so on.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Saam Barati
It looks like we already do this.