[JSC] Fix incorrect assertion for VM's regexp buffer lock
authorutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 Apr 2018 16:47:21 +0000 (16:47 +0000)
committerutatane.tea@gmail.com <utatane.tea@gmail.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 8 Apr 2018 16:47:21 +0000 (16:47 +0000)
commit36193c72728f9d1396fbf9e2028b97d8c2af22c7
tree1ba26798b18af84e3f7f6d0878066254ca1940cf
parentabf0ac7814fbabea52c728be4f34c26c763ab2e9
[JSC] Fix incorrect assertion for VM's regexp buffer lock
https://bugs.webkit.org/show_bug.cgi?id=184398

Reviewed by Mark Lam.

isLocked check before taking a lock is incorrect.

* runtime/VM.cpp:
(JSC::VM::acquireRegExpPatternContexBuffer):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/VM.cpp