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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.