Title: [176871] trunk/Source/_javascript_Core
Revision
176871
Author
[email protected]
Date
2014-12-05 14:11:53 -0800 (Fri, 05 Dec 2014)

Log Message

2014-12-05  Geoffrey Garen  <[email protected]>

        Removed an unused function.

        Reviewed by Michael Saboff.

        Broken out from https://bugs.webkit.org/show_bug.cgi?id=139305.

        * parser/ParserArena.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (176870 => 176871)


--- trunk/Source/_javascript_Core/ChangeLog	2014-12-05 21:29:05 UTC (rev 176870)
+++ trunk/Source/_javascript_Core/ChangeLog	2014-12-05 22:11:53 UTC (rev 176871)
@@ -1,3 +1,13 @@
+2014-12-05  Geoffrey Garen  <[email protected]>
+
+        Removed an unused function.
+
+        Reviewed by Michael Saboff.
+
+        Broken out from https://bugs.webkit.org/show_bug.cgi?id=139305.
+
+        * parser/ParserArena.h:
+
 2014-12-05  David Kilzer  <[email protected]>
 
         FeatureDefines.xcconfig: Workaround bug in Xcode 5.1.1 when defining ENABLE_WEB_REPLAY

Modified: trunk/Source/_javascript_Core/parser/ParserArena.cpp (176870 => 176871)


--- trunk/Source/_javascript_Core/parser/ParserArena.cpp	2014-12-05 21:29:05 UTC (rev 176870)
+++ trunk/Source/_javascript_Core/parser/ParserArena.cpp	2014-12-05 22:11:53 UTC (rev 176871)
@@ -63,22 +63,6 @@
     deallocateObjects();
 }
 
-void ParserArena::reset()
-{
-    // Since this code path is used only when parsing fails, it's not bothering to reuse
-    // any of the memory the arena allocated. We could improve that later if we want to
-    // efficiently reuse the same arena.
-
-    deallocateObjects();
-
-    m_freeableMemory = 0;
-    m_freeablePoolEnd = 0;
-    if (m_identifierArena)
-        m_identifierArena->clear();
-    m_freeablePools.clear();
-    m_deletableObjects.clear();
-}
-
 void ParserArena::allocateFreeablePool()
 {
     if (m_freeablePoolEnd)

Modified: trunk/Source/_javascript_Core/parser/ParserArena.h (176870 => 176871)


--- trunk/Source/_javascript_Core/parser/ParserArena.h	2014-12-05 21:29:05 UTC (rev 176870)
+++ trunk/Source/_javascript_Core/parser/ParserArena.h	2014-12-05 22:11:53 UTC (rev 176871)
@@ -150,8 +150,6 @@
             return deletable;
         }
 
-        JS_EXPORT_PRIVATE void reset();
-
         IdentifierArena& identifierArena()
         {
             if (UNLIKELY (!m_identifierArena))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to