Commit 5c4fbce2 authored by akling@apple.com's avatar akling@apple.com

Remove unused CodeBlock::m_additionalIdentifiers member.

<https://webkit.org/b/127237>

Reviewed by Anders Carlsson.

* bytecode/CodeBlock.h:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::CodeBlock):
(JSC::CodeBlock::shrinkToFit):

    Remove m_additionalIdentifiers, nothing uses it.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8d3388a1
2014-01-18 Andreas Kling <akling@apple.com>
Remove unused CodeBlock::m_additionalIdentifiers member.
<https://webkit.org/b/127237>
Reviewed by Anders Carlsson.
* bytecode/CodeBlock.h:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::CodeBlock):
(JSC::CodeBlock::shrinkToFit):
Remove m_additionalIdentifiers, nothing uses it.
2014-01-18 Andreas Kling <akling@apple.com>
Remove two unused CodeBlock functions.
......
......@@ -1480,7 +1480,6 @@ CodeBlock::CodeBlock(CopyParsedBlockTag, CodeBlock& other)
, m_sourceOffset(other.m_sourceOffset)
, m_firstLineColumnOffset(other.m_firstLineColumnOffset)
, m_codeType(other.m_codeType)
, m_additionalIdentifiers(other.m_additionalIdentifiers)
, m_constantRegisters(other.m_constantRegisters)
, m_functionDecls(other.m_functionDecls)
, m_functionExprs(other.m_functionExprs)
......@@ -2591,7 +2590,6 @@ void CodeBlock::shrinkToFit(ShrinkMode shrinkMode)
m_specialFastCaseProfiles.shrinkToFit();
if (shrinkMode == EarlyShrink) {
m_additionalIdentifiers.shrinkToFit();
m_functionDecls.shrinkToFit();
m_functionExprs.shrinkToFit();
m_constantRegisters.shrinkToFit();
......
......@@ -1053,7 +1053,6 @@ private:
Vector<ObjectAllocationProfile> m_objectAllocationProfiles;
// Constant Pool
Vector<Identifier> m_additionalIdentifiers;
COMPILE_ASSERT(sizeof(Register) == sizeof(WriteBarrier<Unknown>), Register_must_be_same_size_as_WriteBarrier_Unknown);
// TODO: This could just be a pointer to m_unlinkedCodeBlock's data, but the DFG mutates
// it, so we're stuck with it for now.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment