Bug 21297
| Summary: | Move toThisObject() conversion to callee | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cameron Zwarich (cpst) <zwarich> |
| Component: | JavaScriptCore | Assignee: | Maciej Stachowiak <mjs> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
Cameron Zwarich (cpst)
We currently call toThisObject() on the 'this' object during function calls. This is not that great of an idea, because a lot of functions do not use 'this'. Also, the presence of the virtual call makes it impossible to inline a larger piece of the function call logic.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Cameron Zwarich (cpst)
This has been fixed by a number of source changes since this bug was filed.