Bug 65943 - DFG JIT passes the this argument to constructors even though it's not necessary
: DFG JIT passes the this argument to constructors even though it's not necessary
Status: RESOLVED FIXED
: WebKit
JavaScriptCore
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2011-08-09 14:26 PST by
Modified: 2011-08-09 17:31 PST (History)


Attachments
the patch (1.51 KB, patch)
2011-08-09 14:29 PST, Filip Pizlo
no flags Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2011-08-09 14:26:41 PST
The DFG JIT passes the this argument to constructors, even though constructors create this themselves.  The DFG should not pass this to constructors.
------- Comment #1 From 2011-08-09 14:29:16 PST -------
Created an attachment (id=103399) [details]
the patch
------- Comment #2 From 2011-08-09 17:31:04 PST -------
(From update of attachment 103399 [details])
Clearing flags on attachment: 103399

Committed r92732: <http://trac.webkit.org/changeset/92732>
------- Comment #3 From 2011-08-09 17:31:09 PST -------
All reviewed patches have been landed.  Closing bug.