Remove unused CodeBlock::m_additionalIdentifiers member.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Jan 2014 23:20:12 +0000 (23:20 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 18 Jan 2014 23:20:12 +0000 (23:20 +0000)
<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: https://svn.webkit.org/repository/webkit/trunk@162279 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/bytecode/CodeBlock.cpp
Source/JavaScriptCore/bytecode/CodeBlock.h

index 0cad6c0ae9a0c9c9254b39f4cd134bfc28b675b6..35dd53b2b236cb552c63db0de3be14ea956530b2 100644 (file)
@@ -1,3 +1,17 @@
+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.
 2014-01-18  Andreas Kling  <akling@apple.com>
 
         Remove two unused CodeBlock functions.
index 7424371fecd074e1618af54aa977426733b9a790..cc24ddc74c0dea8c65a9c40f6e0218978237b537 100644 (file)
@@ -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_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)
     , 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_specialFastCaseProfiles.shrinkToFit();
     
     if (shrinkMode == EarlyShrink) {
-        m_additionalIdentifiers.shrinkToFit();
         m_functionDecls.shrinkToFit();
         m_functionExprs.shrinkToFit();
         m_constantRegisters.shrinkToFit();
         m_functionDecls.shrinkToFit();
         m_functionExprs.shrinkToFit();
         m_constantRegisters.shrinkToFit();
index d49f3afcef0d0cc84962527f1e636a5e4d7f310e..8cc72164c423193ab1921ddb356963de362833ce 100644 (file)
@@ -1053,7 +1053,6 @@ private:
     Vector<ObjectAllocationProfile> m_objectAllocationProfiles;
 
     // Constant Pool
     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.
     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.