Ignore:
Timestamp:
Sep 22, 2010, 1:24:23 PM (15 years ago)
Author:
[email protected]
Message:

2010-09-22 Oliver Hunt <[email protected]>

Reviewed by Gavin Barraclough.

[INTERPRETER] Two tests fail with SputnikError: #1.1: if argArray is neither an array nor an arguments object (see 10.1.8), a TypeError exception is thrown
https://bugs.webkit.org/show_bug.cgi?id=44245

Remove incorrect code from op_load_varargs in the interpreter.

  • interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/interpreter/Interpreter.cpp

    r65847 r68076  
    38333833                }
    38343834            } else {
    3835                 if (!arguments.isObject()) {
    3836                     exceptionValue = createInvalidParamError(callFrame, "Function.prototype.apply", arguments, vPC - codeBlock->instructions().begin(), codeBlock);
    3837                     goto vm_throw;
    3838                 }
     3835                exceptionValue = createInvalidParamError(callFrame, "Function.prototype.apply", arguments, vPC - codeBlock->instructions().begin(), codeBlock);
     3836                goto vm_throw;
    38393837            }
    38403838        }
Note: See TracChangeset for help on using the changeset viewer.