Title: [199864] trunk/Source/_javascript_Core
Revision
199864
Author
sbar...@apple.com
Date
2016-04-21 21:26:09 -0700 (Thu, 21 Apr 2016)

Log Message

LLInt CallSiteIndex off by 1
https://bugs.webkit.org/show_bug.cgi?id=156886

Reviewed by Benjamin Poulain.

I think was done for historical reasons but isn't needed anymore.

* llint/LLIntSlowPaths.cpp:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (199863 => 199864)


--- trunk/Source/_javascript_Core/ChangeLog	2016-04-22 02:28:00 UTC (rev 199863)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-04-22 04:26:09 UTC (rev 199864)
@@ -1,3 +1,14 @@
+2016-04-21  Saam barati  <sbar...@apple.com>
+
+        LLInt CallSiteIndex off by 1
+        https://bugs.webkit.org/show_bug.cgi?id=156886
+
+        Reviewed by Benjamin Poulain.
+
+        I think was done for historical reasons but isn't needed anymore.
+
+        * llint/LLIntSlowPaths.cpp:
+
 2016-04-21  Keith Miller  <keith_mil...@apple.com>
 
         FTL should handle exceptions in operationInOptimize

Modified: trunk/Source/_javascript_Core/llint/LLIntSlowPaths.cpp (199863 => 199864)


--- trunk/Source/_javascript_Core/llint/LLIntSlowPaths.cpp	2016-04-22 02:28:00 UTC (rev 199863)
+++ trunk/Source/_javascript_Core/llint/LLIntSlowPaths.cpp	2016-04-22 04:26:09 UTC (rev 199864)
@@ -67,11 +67,11 @@
 #ifndef NDEBUG
 #define LLINT_SET_PC_FOR_STUBS() do { \
         exec->codeBlock()->bytecodeOffset(pc); \
-        exec->setCurrentVPC(pc + 1); \
+        exec->setCurrentVPC(pc); \
     } while (false)
 #else
 #define LLINT_SET_PC_FOR_STUBS() do { \
-        exec->setCurrentVPC(pc + 1); \
+        exec->setCurrentVPC(pc); \
     } while (false)
 #endif
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to