Title: [196896] trunk/Source/_javascript_Core
- Revision
- 196896
- Author
- [email protected]
- Date
- 2016-02-21 23:29:35 -0800 (Sun, 21 Feb 2016)
Log Message
CodeBlock always visits its unlinked code twice
https://bugs.webkit.org/show_bug.cgi?id=154494
Patch by Joseph Pecoraro <[email protected]> on 2016-02-21
Reviewed by Saam Barati.
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::visitChildren):
The unlinked code is always visited in stronglyVisitStrongReferences.
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (196895 => 196896)
--- trunk/Source/_javascript_Core/ChangeLog 2016-02-22 06:30:35 UTC (rev 196895)
+++ trunk/Source/_javascript_Core/ChangeLog 2016-02-22 07:29:35 UTC (rev 196896)
@@ -1,3 +1,14 @@
+2016-02-21 Joseph Pecoraro <[email protected]>
+
+ CodeBlock always visits its unlinked code twice
+ https://bugs.webkit.org/show_bug.cgi?id=154494
+
+ Reviewed by Saam Barati.
+
+ * bytecode/CodeBlock.cpp:
+ (JSC::CodeBlock::visitChildren):
+ The unlinked code is always visited in stronglyVisitStrongReferences.
+
2016-02-21 Brian Burg <[email protected]>
Web Inspector: add 'Automation' protocol domain and generate its backend classes separately in WebKit2
Modified: trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp (196895 => 196896)
--- trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp 2016-02-22 06:30:35 UTC (rev 196895)
+++ trunk/Source/_javascript_Core/bytecode/CodeBlock.cpp 2016-02-22 07:29:35 UTC (rev 196896)
@@ -2486,8 +2486,6 @@
if (m_instructions.size())
visitor.reportExtraMemoryVisited(m_instructions.size() * sizeof(Instruction) / m_instructions.refCount());
- visitor.append(&m_unlinkedCode);
-
stronglyVisitStrongReferences(visitor);
stronglyVisitWeakReferences(visitor);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes