Changeset 69096 in webkit


Ignore:
Timestamp:
Oct 5, 2010 1:28:53 AM (14 years ago)
Author:
oliver@apple.com
Message:

2010-10-05 Oliver Hunt <oliver@apple.com>

Reviewed by Darin Adler.

REGRESSION(r68338): JavaScript error on PowerPC only (crashes on Interpreter built for x86_64)
https://bugs.webkit.org/show_bug.cgi?id=46690

Use the correct register value when initialising the arguments
object in the interpreter. This is covered by existing tests.

  • interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute):
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r69080 r69096  
     12010-10-05  Oliver Hunt  <oliver@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        REGRESSION(r68338): JavaScript error on PowerPC only (crashes on Interpreter built for x86_64)
     6        https://bugs.webkit.org/show_bug.cgi?id=46690
     7
     8        Use the correct register value when initialising the arguments
     9        object in the interpreter.  This is covered by existing tests.
     10
     11        * interpreter/Interpreter.cpp:
     12        (JSC::Interpreter::privateExecute):
     13
    1142010-10-04  David Goodwin  <david_goodwin@apple.com>
    215
  • trunk/JavaScriptCore/interpreter/Interpreter.cpp

    r69045 r69096  
    31743174        if (!arguments) {
    31753175            Arguments* arguments = new (globalData) Arguments(callFrame);
    3176             callFrame->r(dst) = JSValue(arguments);
    3177             callFrame->r(unmodifiedArgumentsRegister(dst)) = JSValue(arguments);
     3176            callFrame->r(argumentsRegister) = JSValue(arguments);
     3177            callFrame->r(unmodifiedArgumentsRegister(argumentsRegister)) = JSValue(arguments);
    31783178        }
    31793179        // fallthrough
Note: See TracChangeset for help on using the changeset viewer.