Title: [250112] trunk/Source/_javascript_Core
- Revision
- 250112
- Author
- mark....@apple.com
- Date
- 2019-09-19 17:29:56 -0700 (Thu, 19 Sep 2019)
Log Message
Rename VMInspector::m_list to m_vmList.
https://bugs.webkit.org/show_bug.cgi?id=202015
Reviewed by Yusuke Suzuki.
m_vmList is more descriptive, and this rename helps grep-ability by disambiguating
it from other m_lists in the code base.
* tools/VMInspector.cpp:
(JSC::VMInspector::add):
(JSC::VMInspector::remove):
* tools/VMInspector.h:
(JSC::VMInspector::iterate):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (250111 => 250112)
--- trunk/Source/_javascript_Core/ChangeLog 2019-09-20 00:11:57 UTC (rev 250111)
+++ trunk/Source/_javascript_Core/ChangeLog 2019-09-20 00:29:56 UTC (rev 250112)
@@ -1,5 +1,21 @@
2019-09-19 Mark Lam <mark....@apple.com>
+ Rename VMInspector::m_list to m_vmList.
+ https://bugs.webkit.org/show_bug.cgi?id=202015
+
+ Reviewed by Yusuke Suzuki.
+
+ m_vmList is more descriptive, and this rename helps grep-ability by disambiguating
+ it from other m_lists in the code base.
+
+ * tools/VMInspector.cpp:
+ (JSC::VMInspector::add):
+ (JSC::VMInspector::remove):
+ * tools/VMInspector.h:
+ (JSC::VMInspector::iterate):
+
+2019-09-19 Mark Lam <mark....@apple.com>
+
Reduce the number of required tag bits for the JSValue.
https://bugs.webkit.org/show_bug.cgi?id=201990
Modified: trunk/Source/_javascript_Core/tools/VMInspector.cpp (250111 => 250112)
--- trunk/Source/_javascript_Core/tools/VMInspector.cpp 2019-09-20 00:11:57 UTC (rev 250111)
+++ trunk/Source/_javascript_Core/tools/VMInspector.cpp 2019-09-20 00:29:56 UTC (rev 250112)
@@ -56,13 +56,13 @@
void VMInspector::add(VM* vm)
{
auto locker = holdLock(m_lock);
- m_list.append(vm);
+ m_vmList.append(vm);
}
void VMInspector::remove(VM* vm)
{
auto locker = holdLock(m_lock);
- m_list.remove(vm);
+ m_vmList.remove(vm);
}
auto VMInspector::lock(Seconds timeout) -> Expected<Locker, Error>
Modified: trunk/Source/_javascript_Core/tools/VMInspector.h (250111 => 250112)
--- trunk/Source/_javascript_Core/tools/VMInspector.h 2019-09-20 00:11:57 UTC (rev 250111)
+++ trunk/Source/_javascript_Core/tools/VMInspector.h 2019-09-20 00:29:56 UTC (rev 250112)
@@ -83,7 +83,7 @@
private:
template <typename Functor> void iterate(const Functor& functor)
{
- for (VM* vm = m_list.head(); vm; vm = vm->next()) {
+ for (VM* vm = m_vmList.head(); vm; vm = vm->next()) {
FunctorStatus status = functor(*vm);
if (status == FunctorStatus::Done)
return;
@@ -91,7 +91,7 @@
}
Lock m_lock;
- DoublyLinkedList<VM> m_list;
+ DoublyLinkedList<VM> m_vmList;
};
} // namespace JSC
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes