Skip to content
Permalink
Browse files
Unreviewed, ByValInfo is only used in JIT enabled environments
https://bugs.webkit.org/show_bug.cgi?id=158908

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::stronglyVisitStrongReferences):

Canonical link: https://commits.webkit.org/178485@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@203897 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
Constellation committed Jul 29, 2016
1 parent 2b692e7 commit 7aa2f0b0cece3cb7911e1c8b8d02488ac10d8345
Showing 2 changed files with 10 additions and 0 deletions.
@@ -1,3 +1,11 @@
2016-07-29 Yusuke Suzuki <utatane.tea@gmail.com>

Unreviewed, ByValInfo is only used in JIT enabled environments
https://bugs.webkit.org/show_bug.cgi?id=158908

* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::stronglyVisitStrongReferences):

2016-07-28 Yusuke Suzuki <utatane.tea@gmail.com>

JSC::Symbol should be hash-consed
@@ -3102,8 +3102,10 @@ void CodeBlock::stronglyVisitStrongReferences(SlotVisitor& visitor)
for (unsigned i = 0; i < m_objectAllocationProfiles.size(); ++i)
m_objectAllocationProfiles[i].visitAggregate(visitor);

#if ENABLE(JIT)
for (ByValInfo* byValInfo : m_byValInfos)
visitor.append(&byValInfo->cachedSymbol);
#endif

#if ENABLE(DFG_JIT)
if (JITCode::isOptimizingJIT(jitType()))

0 comments on commit 7aa2f0b

Please sign in to comment.