Title: [157590] trunk/Source/_javascript_Core
Revision
157590
Author
[email protected]
Date
2013-10-17 12:42:37 -0700 (Thu, 17 Oct 2013)

Log Message

Eliminate emitGetJITStubArg() - dead code
https://bugs.webkit.org/show_bug.cgi?id=122975

Reviewed by Anders Carlsson.

* jit/JIT.h:
* jit/JITInlines.h: Removed unused, deprecated function.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (157589 => 157590)


--- trunk/Source/_javascript_Core/ChangeLog	2013-10-17 19:22:35 UTC (rev 157589)
+++ trunk/Source/_javascript_Core/ChangeLog	2013-10-17 19:42:37 UTC (rev 157590)
@@ -1,3 +1,13 @@
+2013-10-17  Geoffrey Garen  <[email protected]>
+
+        Eliminate emitGetJITStubArg() - dead code
+        https://bugs.webkit.org/show_bug.cgi?id=122975
+
+        Reviewed by Anders Carlsson.
+
+        * jit/JIT.h:
+        * jit/JITInlines.h: Removed unused, deprecated function.
+
 2013-10-17  Mark Lam  <[email protected]>
 
         Eliminate all ASSERT references to OBJECT_OFFSETOF(struct JITStackFrame,...) in JITStubsXXX.h.

Modified: trunk/Source/_javascript_Core/jit/JIT.h (157589 => 157590)


--- trunk/Source/_javascript_Core/jit/JIT.h	2013-10-17 19:22:35 UTC (rev 157589)
+++ trunk/Source/_javascript_Core/jit/JIT.h	2013-10-17 19:42:37 UTC (rev 157590)
@@ -514,9 +514,6 @@
         void emitBinaryDoubleOp(OpcodeID, int dst, int op1, int op2, OperandTypes, JumpList& notInt32Op1, JumpList& notInt32Op2, bool op1IsInRegisters = true, bool op2IsInRegisters = true);
 
 #else // USE(JSVALUE32_64)
-        /* This function is deprecated. */
-        void emitGetJITStubArg(int argumentNumber, RegisterID dst);
-
         void emitGetVirtualRegister(int src, RegisterID dst);
         void emitGetVirtualRegister(VirtualRegister src, RegisterID dst);
         void emitGetVirtualRegisters(int src1, RegisterID dst1, int src2, RegisterID dst2);

Modified: trunk/Source/_javascript_Core/jit/JITInlines.h (157589 => 157590)


--- trunk/Source/_javascript_Core/jit/JITInlines.h	2013-10-17 19:22:35 UTC (rev 157589)
+++ trunk/Source/_javascript_Core/jit/JITInlines.h	2013-10-17 19:42:37 UTC (rev 157590)
@@ -1093,14 +1093,6 @@
 
 #else // USE(JSVALUE32_64)
 
-/* Deprecated: Please use JITStubCall instead. */
-
-ALWAYS_INLINE void JIT::emitGetJITStubArg(int argumentNumber, RegisterID dst)
-{
-    int argumentStackOffset = (argumentNumber * (sizeof(JSValue) / sizeof(void*))) + JITSTACKFRAME_ARGS_INDEX;
-    peek64(dst, argumentStackOffset);
-}
-
 ALWAYS_INLINE void JIT::killLastResultRegister()
 {
     m_lastResultBytecodeRegister = std::numeric_limits<int>::max();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to