| v8.h | | v8.h | |
| | | | |
| skipping to change at line 806 | | skipping to change at line 806 | |
| rhs.val_ = 0; | | rhs.val_ = 0; | |
| return *this; | | return *this; | |
| } | | } | |
| /** | | /** | |
| * Cast operator for moves. | | * Cast operator for moves. | |
| */ | | */ | |
| V8_INLINE operator RValue() { return RValue(this); } | | V8_INLINE operator RValue() { return RValue(this); } | |
| /** | | /** | |
| * Pass allows returning uniques from functions, etc. | | * Pass allows returning uniques from functions, etc. | |
| */ | | */ | |
|
| V8_INLINE UniquePersistent Pass() { return UniquePersistent(RValue(this))
; } | | UniquePersistent Pass() { return UniquePersistent(RValue(this)); } | |
| | | | |
| private: | | private: | |
| UniquePersistent(UniquePersistent&); | | UniquePersistent(UniquePersistent&); | |
| void operator=(UniquePersistent&); | | void operator=(UniquePersistent&); | |
| }; | | }; | |
| | | | |
| /** | | /** | |
| * A stack-allocated class that governs a number of local handles. | | * A stack-allocated class that governs a number of local handles. | |
| * After a handle scope has been created, all local handles will be | | * After a handle scope has been created, all local handles will be | |
| * allocated within that handle scope until either the handle scope is | | * allocated within that handle scope until either the handle scope is | |
| | | | |
| skipping to change at line 5462 | | skipping to change at line 5462 | |
| static const int kStringEncodingMask = 0x4; | | static const int kStringEncodingMask = 0x4; | |
| static const int kExternalTwoByteRepresentationTag = 0x02; | | static const int kExternalTwoByteRepresentationTag = 0x02; | |
| static const int kExternalAsciiRepresentationTag = 0x06; | | static const int kExternalAsciiRepresentationTag = 0x06; | |
| | | | |
| static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | | static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | |
| static const int kIsolateRootsOffset = 5 * kApiPointerSize; | | static const int kIsolateRootsOffset = 5 * kApiPointerSize; | |
| static const int kUndefinedValueRootIndex = 5; | | static const int kUndefinedValueRootIndex = 5; | |
| static const int kNullValueRootIndex = 7; | | static const int kNullValueRootIndex = 7; | |
| static const int kTrueValueRootIndex = 8; | | static const int kTrueValueRootIndex = 8; | |
| static const int kFalseValueRootIndex = 9; | | static const int kFalseValueRootIndex = 9; | |
|
| static const int kEmptyStringRootIndex = 154; | | static const int kEmptyStringRootIndex = 152; | |
| | | | |
| static const int kNodeClassIdOffset = 1 * kApiPointerSize; | | static const int kNodeClassIdOffset = 1 * kApiPointerSize; | |
| static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | | static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | |
| static const int kNodeStateMask = 0xf; | | static const int kNodeStateMask = 0xf; | |
| static const int kNodeStateIsWeakValue = 2; | | static const int kNodeStateIsWeakValue = 2; | |
| static const int kNodeStateIsPendingValue = 3; | | static const int kNodeStateIsPendingValue = 3; | |
| static const int kNodeStateIsNearDeathValue = 4; | | static const int kNodeStateIsNearDeathValue = 4; | |
| static const int kNodeIsIndependentShift = 4; | | static const int kNodeIsIndependentShift = 4; | |
| static const int kNodeIsPartiallyDependentShift = 5; | | static const int kNodeIsPartiallyDependentShift = 5; | |
| | | | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|