Title: [250594] trunk/Source/_javascript_Core
Revision
250594
Author
ysuz...@apple.com
Date
2019-10-01 20:48:16 -0700 (Tue, 01 Oct 2019)

Log Message

Unreviewed, fix incorrect assertion
https://bugs.webkit.org/show_bug.cgi?id=202391

* runtime/JSLock.cpp:
(JSC::JSLock::DropAllLocks::~DropAllLocks):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (250593 => 250594)


--- trunk/Source/_javascript_Core/ChangeLog	2019-10-02 03:45:39 UTC (rev 250593)
+++ trunk/Source/_javascript_Core/ChangeLog	2019-10-02 03:48:16 UTC (rev 250594)
@@ -1,3 +1,11 @@
+2019-10-01  Yusuke Suzuki  <ysuz...@apple.com>
+
+        Unreviewed, fix incorrect assertion
+        https://bugs.webkit.org/show_bug.cgi?id=202391
+
+        * runtime/JSLock.cpp:
+        (JSC::JSLock::DropAllLocks::~DropAllLocks):
+
 2019-10-01  Saam Barati  <sbar...@apple.com>
 
         ObjectAllocationSinkingPhase shouldn't insert hints for allocations which are no longer valid

Modified: trunk/Source/_javascript_Core/runtime/JSLock.cpp (250593 => 250594)


--- trunk/Source/_javascript_Core/runtime/JSLock.cpp	2019-10-02 03:45:39 UTC (rev 250593)
+++ trunk/Source/_javascript_Core/runtime/JSLock.cpp	2019-10-02 03:48:16 UTC (rev 250594)
@@ -310,7 +310,7 @@
         return;
     m_vm->apiLock().grabAllLocks(this, m_droppedLockCount);
     VM* previousVMInTLS = VM::exchange(m_vm.get());
-    ASSERT_UNUSED(previousVMInTLS, previousVMInTLS);
+    ASSERT_UNUSED(previousVMInTLS, !previousVMInTLS);
 }
 
 } // namespace JSC
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to