Changeset 27103 in webkit for trunk/JavaScriptCore/kjs/value.h
- Timestamp:
- Oct 26, 2007, 4:46:13 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/value.h
r27095 r27103 338 338 } 339 339 340 inlinebool JSValue::getUInt32(uint32_t& v) const340 ALWAYS_INLINE bool JSValue::getUInt32(uint32_t& v) const 341 341 { 342 342 return JSImmediate::isImmediate(this) ? JSImmediate::getUInt32(this, v) : asCell()->getUInt32(v); 343 343 } 344 344 345 inlinebool JSValue::getTruncatedInt32(int32_t& v) const345 ALWAYS_INLINE bool JSValue::getTruncatedInt32(int32_t& v) const 346 346 { 347 347 return JSImmediate::isImmediate(this) ? JSImmediate::getTruncatedInt32(this, v) : asCell()->getTruncatedInt32(v); … … 388 388 } 389 389 390 inlinedouble JSValue::toNumber(ExecState *exec) const390 ALWAYS_INLINE double JSValue::toNumber(ExecState *exec) const 391 391 { 392 392 return JSImmediate::isImmediate(this) ? JSImmediate::toDouble(this) : asCell()->toNumber(exec);
Note:
See TracChangeset
for help on using the changeset viewer.