Skip to content
  • ggaren@apple.com's avatar
    A little bit of arguments / activation cleanup · 64dd95ff
    ggaren@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=72339
    
    Reviewed by Gavin Barraclough.
            
    Renamed copyRegisters => tearOff to match bytecode and other terminology.
            
    Renamed setActivation => didTearOffActivation to indicate that this is a
    notification the object may choose to ignore. Moved "Should I ignore?"
    code into the arguments object to avoid duplication elsewhere.
    
    * interpreter/Interpreter.cpp:
    (JSC::Interpreter::unwindCallFrame):
    (JSC::Interpreter::privateExecute):
    (JSC::Interpreter::retrieveArguments):
    * jit/JITStubs.cpp:
    (JSC::DEFINE_STUB_FUNCTION):
    * runtime/Arguments.h:
    (JSC::Arguments::createAndTearOff):
    (JSC::Arguments::didTearOffActivation):
    (JSC::Arguments::finishCreationButDontTearOff):
    (JSC::Arguments::finishCreation):
    (JSC::Arguments::finishCreationAndTearOff):
    (JSC::Arguments::tearOff):
    
    * runtime/JSActivation.h:
    (JSC::JSActivation::tearOff): Moved Activation's code into its own header
    because that's where it belongs.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    64dd95ff