Title: [187616] branches/jsc-tailcall/Source/_javascript_Core
Revision
187616
Author
basile_clem...@apple.com
Date
2015-07-30 16:08:56 -0700 (Thu, 30 Jul 2015)

Log Message

jsc-tailcall: We should consider a tail call as an exit in the LLInt for the purpose of switching to the JIT
https://bugs.webkit.org/show_bug.cgi?id=147449

Reviewed by Michael Saboff.

* llint/LowLevelInterpreter.asm:

Modified Paths

Diff

Modified: branches/jsc-tailcall/Source/_javascript_Core/ChangeLog (187615 => 187616)


--- branches/jsc-tailcall/Source/_javascript_Core/ChangeLog	2015-07-30 23:07:09 UTC (rev 187615)
+++ branches/jsc-tailcall/Source/_javascript_Core/ChangeLog	2015-07-30 23:08:56 UTC (rev 187616)
@@ -1,3 +1,12 @@
+2015-07-30  Basile Clement  <basile_clem...@apple.com>
+
+        jsc-tailcall: We should consider a tail call as an exit in the LLInt for the purpose of switching to the JIT
+        https://bugs.webkit.org/show_bug.cgi?id=147449
+
+        Reviewed by Michael Saboff.
+
+        * llint/LowLevelInterpreter.asm:
+
 2015-07-23  Basile Clement  <basile_clem...@apple.com>
 
         Merged r187505 from trunk.

Modified: branches/jsc-tailcall/Source/_javascript_Core/llint/LowLevelInterpreter.asm (187615 => 187616)


--- branches/jsc-tailcall/Source/_javascript_Core/llint/LowLevelInterpreter.asm	2015-07-30 23:07:09 UTC (rev 187615)
+++ branches/jsc-tailcall/Source/_javascript_Core/llint/LowLevelInterpreter.asm	2015-07-30 23:08:56 UTC (rev 187616)
@@ -1312,6 +1312,7 @@
 _llint_op_tail_call:
     traceExecution()
     arrayProfileForCall()
+    checkSwitchToJITForEpilogue()
     doCall(_llint_slow_path_call, prepareForTailCall)
 
 _llint_op_construct:
@@ -1342,6 +1343,7 @@
 
 _llint_op_tail_call_varargs:
     traceExecution()
+    checkSwitchToJITForEpilogue()
     # We lie and perform the tail call instead of preparing it since we can't
     # prepare the frame for a call opcode
     doCallVarargs(_llint_slow_path_call_varargs, prepareForTailCall)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to