Changeset 27198 in webkit for trunk/JavaScriptCore/kjs/SymbolTable.h
- Timestamp:
- Oct 28, 2007, 6:56:05 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/SymbolTable.h
r27178 r27198 31 31 32 32 #include "property_map.h" 33 #include "AlwaysInline.h" 33 34 34 35 namespace KJS { … … 42 43 }; 43 44 44 static const size_t missingSymbolMarker = std::numeric_limits<size_t>::max();45 static ALWAYS_INLINE size_t missingSymbolMarker() { return std::numeric_limits<size_t>::max(); } 45 46 46 47 struct SymbolTableIndexHashTraits { 47 48 typedef size_t TraitType; 48 49 typedef SymbolTableIndexHashTraits StorageTraits; 49 static size_t emptyValue() { return missingSymbolMarker ; }50 static size_t emptyValue() { return missingSymbolMarker(); } 50 51 static const bool emptyValueIsZero = false; 51 52 static const bool needsDestruction = false;
Note:
See TracChangeset
for help on using the changeset viewer.