Bug 65943 - DFG JIT passes the this argument to constructors even though it's not necessary
Summary: DFG JIT passes the this argument to constructors even though it's not necessary
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-09 14:26 PDT by Filip Pizlo
Modified: 2011-08-09 17:31 PDT (History)
3 users (show)

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Pizlo 2011-08-09 14:26:41 PDT
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 Filip Pizlo 2011-08-09 14:29:16 PDT
Created attachment 103399 [details]
the patch
Comment 2 WebKit Review Bot 2011-08-09 17:31:04 PDT
Comment on attachment 103399 [details]
the patch

Clearing flags on attachment: 103399

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