Changeset 157530 in webkit


Ignore:
Timestamp:
Oct 16, 2013 2:37:50 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Remove unused JIT::restoreArgumentReferenceForTrampoline function.
https://bugs.webkit.org/show_bug.cgi?id=122916.

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-10-16
Reviewed by Michael Saboff.

This architecture specific function is not used anymore, so get rid of it.

  • jit/JIT.h:
  • jit/JITInlines.h:
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r157529 r157530  
     12013-10-16  Julien Brianceau  <jbriance@cisco.com>
     2
     3        Remove unused JIT::restoreArgumentReferenceForTrampoline function.
     4        https://bugs.webkit.org/show_bug.cgi?id=122916.
     5
     6        Reviewed by Michael Saboff.
     7
     8        This architecture specific function is not used anymore, so get rid of it.
     9
     10        * jit/JIT.h:
     11        * jit/JITInlines.h:
     12
    1132013-10-16  Oliver Hunt  <oliver@apple.com>
    214
  • trunk/Source/JavaScriptCore/jit/JIT.h

    r157500 r157530  
    828828        Jump checkStructure(RegisterID reg, Structure* structure);
    829829
    830         void restoreArgumentReferenceForTrampoline();
    831830        void updateTopCallFrame();
    832831
  • trunk/Source/JavaScriptCore/jit/JITInlines.h

    r157500 r157530  
    130130}
    131131
    132 ALWAYS_INLINE void JIT::restoreArgumentReferenceForTrampoline()
    133 {
    134 #if CPU(X86)
    135     // Within a trampoline the return address will be on the stack at this point.
    136     addPtr(TrustedImm32(sizeof(void*)), stackPointerRegister, firstArgumentRegister);
    137 #elif CPU(ARM) || CPU(ARM64)
    138     move(stackPointerRegister, firstArgumentRegister);
    139 #elif CPU(SH4)
    140     move(stackPointerRegister, firstArgumentRegister);
    141 #endif
    142     // In the trampoline on x86-64, the first argument register is not overwritten.
    143 }
    144 
    145132ALWAYS_INLINE MacroAssembler::Call JIT::appendCallWithExceptionCheck(const FunctionPtr& function)
    146133{
Note: See TracChangeset for help on using the changeset viewer.