Changeset 55120 in webkit for trunk/JavaScriptCore/parser
- Timestamp:
- Feb 22, 2010, 9:03:41 PM (15 years ago)
- Location:
- trunk/JavaScriptCore/parser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/parser/Nodes.h
r51735 r55120 1386 1386 using ParserArenaRefCounted::operator new; 1387 1387 1388 void adoptData(std::auto_ptr<ScopeNodeData> data)1389 {1390 ASSERT(!data->m_arena.contains(this));1391 ASSERT(!m_data);1392 m_data.adopt(data);1393 }1394 1388 ScopeNodeData* data() const { return m_data.get(); } 1395 1389 void destroyData() { m_data.clear(); } -
trunk/JavaScriptCore/parser/Parser.cpp
r54464 r55120 28 28 #include <wtf/HashSet.h> 29 29 #include <wtf/Vector.h> 30 #include <memory>31 32 using std::auto_ptr;33 30 34 31 #ifndef yyparse
Note:
See TracChangeset
for help on using the changeset viewer.