Title: [157530] trunk/Source/_javascript_Core
- Revision
- 157530
- Author
- commit-qu...@webkit.org
- Date
- 2013-10-16 14:37:50 -0700 (Wed, 16 Oct 2013)
Log Message
Remove unused JIT::restoreArgumentReferenceForTrampoline function.
https://bugs.webkit.org/show_bug.cgi?id=122916.
Patch by Julien Brianceau <jbria...@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:
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (157529 => 157530)
--- trunk/Source/_javascript_Core/ChangeLog 2013-10-16 21:27:31 UTC (rev 157529)
+++ trunk/Source/_javascript_Core/ChangeLog 2013-10-16 21:37:50 UTC (rev 157530)
@@ -1,3 +1,15 @@
+2013-10-16 Julien Brianceau <jbria...@cisco.com>
+
+ Remove unused JIT::restoreArgumentReferenceForTrampoline function.
+ https://bugs.webkit.org/show_bug.cgi?id=122916.
+
+ Reviewed by Michael Saboff.
+
+ This architecture specific function is not used anymore, so get rid of it.
+
+ * jit/JIT.h:
+ * jit/JITInlines.h:
+
2013-10-16 Oliver Hunt <oli...@apple.com>
Implement ES6 spread operator
Modified: trunk/Source/_javascript_Core/jit/JIT.h (157529 => 157530)
--- trunk/Source/_javascript_Core/jit/JIT.h 2013-10-16 21:27:31 UTC (rev 157529)
+++ trunk/Source/_javascript_Core/jit/JIT.h 2013-10-16 21:37:50 UTC (rev 157530)
@@ -827,7 +827,6 @@
Jump checkStructure(RegisterID reg, Structure* structure);
- void restoreArgumentReferenceForTrampoline();
void updateTopCallFrame();
Call emitNakedCall(CodePtr function = CodePtr());
Modified: trunk/Source/_javascript_Core/jit/JITInlines.h (157529 => 157530)
--- trunk/Source/_javascript_Core/jit/JITInlines.h 2013-10-16 21:27:31 UTC (rev 157529)
+++ trunk/Source/_javascript_Core/jit/JITInlines.h 2013-10-16 21:37:50 UTC (rev 157530)
@@ -129,19 +129,6 @@
storePtr(callFrameRegister, &m_vm->topCallFrame);
}
-ALWAYS_INLINE void JIT::restoreArgumentReferenceForTrampoline()
-{
-#if CPU(X86)
- // Within a trampoline the return address will be on the stack at this point.
- addPtr(TrustedImm32(sizeof(void*)), stackPointerRegister, firstArgumentRegister);
-#elif CPU(ARM) || CPU(ARM64)
- move(stackPointerRegister, firstArgumentRegister);
-#elif CPU(SH4)
- move(stackPointerRegister, firstArgumentRegister);
-#endif
- // In the trampoline on x86-64, the first argument register is not overwritten.
-}
-
ALWAYS_INLINE MacroAssembler::Call JIT::appendCallWithExceptionCheck(const FunctionPtr& function)
{
updateTopCallFrame();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes