Changeset 36802 in webkit for trunk/JavaScriptCore/kjs
- Timestamp:
- Sep 23, 2008, 12:46:55 AM (17 years ago)
- Location:
- trunk/JavaScriptCore/kjs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSImmediate.h
r36726 r36802 155 155 } 156 156 157 static ALWAYS_INLINE bool isAnyImmediate(const JSValue* v1, const JSValue* v2, JSValue* v3) 158 { 159 return (reinterpret_cast<uintptr_t>(v1) | reinterpret_cast<uintptr_t>(v2) | reinterpret_cast<uintptr_t>(v3)) & TagMask; 160 } 161 157 162 static ALWAYS_INLINE bool areBothImmediate(const JSValue* v1, const JSValue* v2) 158 163 { -
trunk/JavaScriptCore/kjs/TypeInfo.h
r36766 r36802 33 33 34 34 // WebCore uses this to make document.all and style.filter undetectable. 35 static const unsigned MasqueradesAsUndefined = 0x1; 36 static const unsigned ImplementsHasInstance = 0x2; 35 static const unsigned MasqueradesAsUndefined = 1; 36 static const unsigned ImplementsHasInstance = 1 << 1; 37 static const unsigned OverridesHasInstance = 1 << 2; 37 38 38 39 class TypeInfo { … … 45 46 bool masqueradesAsUndefined() const { return m_flags & MasqueradesAsUndefined; } 46 47 bool implementsHasInstance() const { return m_flags & ImplementsHasInstance; } 48 bool overridesHasInstance() const { return m_flags & OverridesHasInstance; } 47 49 50 unsigned flags() const { return m_flags; } 48 51 private: 49 52 JSType m_type;
Note:
See TracChangeset
for help on using the changeset viewer.