Changeset 36244 in webkit for trunk/JavaScriptCore/kjs/JSImmediate.h
- Timestamp:
- Sep 6, 2008, 10:44:58 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/JSImmediate.h
r35830 r36244 83 83 class JSImmediate { 84 84 private: 85 friend class CTI; // Whooo! 86 85 87 static const uintptr_t TagMask = 0x3u; // primary tag is 2 bits long 86 88 static const uintptr_t TagBitTypeInteger = 0x1u; // bottom bit set indicates integer, this dominates the following bit … … 231 233 static JSValue* undefinedImmediate(); 232 234 static JSValue* nullImmediate(); 235 static JSValue* zeroImmediate(); 236 static JSValue* oneImmediate(); 233 237 234 238 static JSValue* impossibleValue(); … … 286 290 ALWAYS_INLINE JSValue* JSImmediate::undefinedImmediate() { return makeUndefined(); } 287 291 ALWAYS_INLINE JSValue* JSImmediate::nullImmediate() { return makeNull(); } 292 ALWAYS_INLINE JSValue* JSImmediate::zeroImmediate() { return makeInt(0); } 293 ALWAYS_INLINE JSValue* JSImmediate::oneImmediate() { return makeInt(1); } 288 294 289 295 // This value is impossible because 0x4 is not a valid pointer but a tag of 0 would indicate non-immediate
Note:
See TracChangeset
for help on using the changeset viewer.