Changeset 36291 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Sep 9, 2008, 2:00:58 AM (17 years ago)
- Location:
- trunk/JavaScriptCore/kjs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/identifier.cpp
r36263 r36291 214 214 r = globalData->smallStrings.singleCharacterStringRep(c); 215 215 if (r->identifierTable()) { 216 #ifndef NDEBUG 216 217 checkSameIdentifierTable(globalData, r); 218 #endif 217 219 return r; 218 220 } … … 247 249 } 248 250 251 #else 252 253 void Identifier::checkSameIdentifierTable(ExecState*, UString::Rep*) 254 { 255 } 256 257 void Identifier::checkSameIdentifierTable(JSGlobalData*, UString::Rep*) 258 { 259 } 260 249 261 #endif 250 262 -
trunk/JavaScriptCore/kjs/identifier.h
r36263 r36291 93 93 { 94 94 if (r->identifierTable()) { 95 #ifndef NDEBUG 95 96 checkSameIdentifierTable(exec, r); 97 #endif 96 98 return r; 97 99 } … … 101 103 { 102 104 if (r->identifierTable()) { 105 #ifndef NDEBUG 103 106 checkSameIdentifierTable(globalData, r); 107 #endif 104 108 return r; 105 109 } … … 132 136 void deleteIdentifierTable(IdentifierTable*); 133 137 134 #ifdef NDEBUG135 inline void Identifier::checkSameIdentifierTable(ExecState*, UString::Rep*) { }136 inline void Identifier::checkSameIdentifierTable(JSGlobalData*, UString::Rep*) { }137 #endif138 139 138 } // namespace JSC 140 139
Note:
See TracChangeset
for help on using the changeset viewer.