Changeset 52762 in webkit for trunk/JavaScriptCore/API/JSClassRef.cpp
- Timestamp:
- Jan 4, 2010, 2:49:27 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSClassRef.cpp
r52346 r52762 83 83 OpaqueJSClass::~OpaqueJSClass() 84 84 { 85 ASSERT(!m_className.rep()->i dentifierTable());85 ASSERT(!m_className.rep()->isIdentifier()); 86 86 87 87 if (m_staticValues) { 88 88 OpaqueJSClassStaticValuesTable::const_iterator end = m_staticValues->end(); 89 89 for (OpaqueJSClassStaticValuesTable::const_iterator it = m_staticValues->begin(); it != end; ++it) { 90 ASSERT(!it->first->i dentifierTable());90 ASSERT(!it->first->isIdentifier()); 91 91 delete it->second; 92 92 } … … 97 97 OpaqueJSClassStaticFunctionsTable::const_iterator end = m_staticFunctions->end(); 98 98 for (OpaqueJSClassStaticFunctionsTable::const_iterator it = m_staticFunctions->begin(); it != end; ++it) { 99 ASSERT(!it->first->i dentifierTable());99 ASSERT(!it->first->isIdentifier()); 100 100 delete it->second; 101 101 } … … 148 148 OpaqueJSClassStaticValuesTable::const_iterator end = jsClass->m_staticValues->end(); 149 149 for (OpaqueJSClassStaticValuesTable::const_iterator it = jsClass->m_staticValues->begin(); it != end; ++it) { 150 ASSERT(!it->first->i dentifierTable());150 ASSERT(!it->first->isIdentifier()); 151 151 staticValues->add(UString::Rep::createCopying(it->first->data(), it->first->size()), 152 152 new StaticValueEntry(it->second->getProperty, it->second->setProperty, it->second->attributes)); … … 161 161 OpaqueJSClassStaticFunctionsTable::const_iterator end = jsClass->m_staticFunctions->end(); 162 162 for (OpaqueJSClassStaticFunctionsTable::const_iterator it = jsClass->m_staticFunctions->begin(); it != end; ++it) { 163 ASSERT(!it->first->i dentifierTable());163 ASSERT(!it->first->isIdentifier()); 164 164 staticFunctions->add(UString::Rep::createCopying(it->first->data(), it->first->size()), 165 165 new StaticFunctionEntry(it->second->callAsFunction, it->second->attributes));
Note:
See TracChangeset
for help on using the changeset viewer.