Changeset 36316 in webkit for trunk/JavaScriptCore/kjs/JSGlobalObject.h
- Timestamp:
- Sep 10, 2008, 1:42:43 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSGlobalObject.h
r36263 r36316 25 25 #include "JSGlobalData.h" 26 26 #include "JSVariableObject.h" 27 #include "NumberPrototype.h" 28 #include "StringPrototype.h" 27 29 #include <wtf/HashSet.h> 28 30 #include <wtf/OwnPtr.h> … … 294 296 } 295 297 298 inline JSValue* StructureID::prototypeForLookup(ExecState* exec) { 299 if (m_type == ObjectType) 300 return m_prototype; 301 302 if (m_type == StringType) 303 return exec->lexicalGlobalObject()->stringPrototype(); 304 305 ASSERT(m_type == NumberType); 306 return exec->lexicalGlobalObject()->numberPrototype(); 307 } 308 296 309 } // namespace JSC 297 310
Note:
See TracChangeset
for help on using the changeset viewer.