Replace multiple Watchpoint Set fireAll() methods with templates
authormsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 May 2018 01:11:40 +0000 (01:11 +0000)
committermsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 May 2018 01:11:40 +0000 (01:11 +0000)
commit4da6f8a4488848691b1a5617a36b602ec1a7449c
tree69880c409120017e7935df92d93c37540c5b2b35
parentbff75eb7753d1dc7160cbf6d5f53f6c42ccef833
Replace multiple Watchpoint Set fireAll() methods with templates
https://bugs.webkit.org/show_bug.cgi?id=185456

Reviewed by Saam Barati.

Refactored to minimize duplicate code.

* bytecode/Watchpoint.h:
(JSC::WatchpointSet::fireAll):
(JSC::InlineWatchpointSet::fireAll):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@231534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/bytecode/Watchpoint.h