Changeset 47582 in webkit for trunk/JavaScriptCore/parser/Lexer.h
- Timestamp:
- Aug 20, 2009, 11:04:37 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/parser/Lexer.h
r47571 r47582 24 24 25 25 #include "Lookup.h" 26 #include "ParserArena.h"27 26 #include "SourceCode.h" 28 27 #include <wtf/ASCIICType.h> … … 44 43 45 44 // Functions to set up parsing. 46 void setCode(const SourceCode& , ParserArena&);45 void setCode(const SourceCode&); 47 46 void setIsReparsing() { m_isReparsing = true; } 48 47 … … 80 79 const UChar* currentCharacter() const; 81 80 82 const Identifier* makeIdentifier(const UChar* characters, size_t length);81 JSC::Identifier* makeIdentifier(const UChar* buffer, size_t length); 83 82 84 83 bool lastTokenWasRestrKeyword() const; 85 84 86 85 static const size_t initialReadBufferCapacity = 32; 86 static const size_t initialIdentifierTableCapacity = 64; 87 87 88 88 int m_lineNumber; … … 108 108 int m_next3; 109 109 110 IdentifierArena* m_arena;110 WTF::SegmentedVector<JSC::Identifier, initialIdentifierTableCapacity> m_identifiers; 111 111 112 112 JSGlobalData* m_globalData;
Note:
See TracChangeset
for help on using the changeset viewer.