Changeset 47582 in webkit for trunk/JavaScriptCore/parser/Lexer.h


Ignore:
Timestamp:
Aug 20, 2009, 11:04:37 AM (16 years ago)
Author:
[email protected]
Message:

Roll out r47571 and related build fixes as it caused us to leak the world without warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/parser/Lexer.h

    r47571 r47582  
    2424
    2525#include "Lookup.h"
    26 #include "ParserArena.h"
    2726#include "SourceCode.h"
    2827#include <wtf/ASCIICType.h>
     
    4443
    4544        // Functions to set up parsing.
    46         void setCode(const SourceCode&, ParserArena&);
     45        void setCode(const SourceCode&);
    4746        void setIsReparsing() { m_isReparsing = true; }
    4847
     
    8079        const UChar* currentCharacter() const;
    8180
    82         const Identifier* makeIdentifier(const UChar* characters, size_t length);
     81        JSC::Identifier* makeIdentifier(const UChar* buffer, size_t length);
    8382
    8483        bool lastTokenWasRestrKeyword() const;
    8584
    8685        static const size_t initialReadBufferCapacity = 32;
     86        static const size_t initialIdentifierTableCapacity = 64;
    8787
    8888        int m_lineNumber;
     
    108108        int m_next3;
    109109       
    110         IdentifierArena* m_arena;
     110        WTF::SegmentedVector<JSC::Identifier, initialIdentifierTableCapacity> m_identifiers;
    111111
    112112        JSGlobalData* m_globalData;
Note: See TracChangeset for help on using the changeset viewer.