Ignore:
Timestamp:
Oct 12, 2011, 10:01:36 PM (14 years ago)
Author:
[email protected]
Message:

If an Arguments object is being used to copy the arguments, then
make this explicit
https://bugs.webkit.org/show_bug.cgi?id=69995

Reviewed by Sam Weinig.

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::retrieveArguments):

  • runtime/Arguments.h:

(JSC::Arguments::createAndCopyRegisters):
(JSC::Arguments::finishCreationButDontCopyRegisters):
(JSC::Arguments::finishCreation):
(JSC::Arguments::finishCreationAndCopyRegisters):

File:
1 edited

Legend:

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

    r97097 r97342  
    51395139    }
    51405140
    5141     Arguments* arguments = Arguments::create(functionCallFrame->globalData(), functionCallFrame);
    5142     arguments->copyRegisters(functionCallFrame->globalData());
    5143     return arguments;
     5141    return Arguments::createAndCopyRegisters(functionCallFrame->globalData(), functionCallFrame);
    51445142}
    51455143
Note: See TracChangeset for help on using the changeset viewer.