Changeset 45903 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jul 15, 2009, 2:59:23 AM (16 years ago)
Author:
[email protected]
Message:

REGRESSION(43559): fast/js/kde/arguments-scope.html fails with interpreter
https://bugs.webkit.org/show_bug.cgi?id=27259

Reviewed by Simon Hausmann

The interpreter was incorrectly basing its need to create the arguments object
based on the presence of the callframe's argument reference rather than the local
arguments reference. Based on this it then overrode the local variable reference.

Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r45897 r45903  
     12009-07-15  Oliver Hunt  <[email protected]>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        REGRESSION(43559): fast/js/kde/arguments-scope.html fails with interpreter
     6        https://bugs.webkit.org/show_bug.cgi?id=27259
     7
     8        The interpreter was incorrectly basing its need to create the arguments object
     9        based on the presence of the callframe's argument reference rather than the local
     10        arguments reference.  Based on this it then overrode the local variable reference.
     11
     12        * interpreter/Interpreter.cpp:
     13        (JSC::Interpreter::privateExecute):
     14
    1152009-07-14  Steve Falkenburg  <[email protected]>
    216
  • trunk/JavaScriptCore/interpreter/Interpreter.cpp

    r45694 r45903  
    34033403         */
    34043404       
    3405          if (!callFrame->optionalCalleeArguments()) {
     3405         if (!callFrame->r(RegisterFile::ArgumentsRegister).jsValue()) {
    34063406             Arguments* arguments = new (globalData) Arguments(callFrame);
    34073407             callFrame->setCalleeArguments(arguments);
Note: See TracChangeset for help on using the changeset viewer.