v8.h | v8.h | |||
---|---|---|---|---|
skipping to change at line 4597 | skipping to change at line 4597 | |||
static void LowMemoryNotification(); | static void LowMemoryNotification(); | |||
/** | /** | |||
* Optional notification that a context has been disposed. V8 uses | * Optional notification that a context has been disposed. V8 uses | |||
* these notifications to guide the GC heuristic. Returns the number | * these notifications to guide the GC heuristic. Returns the number | |||
* of context disposals - including this one - since the last time | * of context disposals - including this one - since the last time | |||
* V8 had a chance to clean up. | * V8 had a chance to clean up. | |||
*/ | */ | |||
static int ContextDisposedNotification(); | static int ContextDisposedNotification(); | |||
/** | ||||
* Initialize the ICU library bundled with V8. The embedder should only | ||||
* invoke this method when using the bundled ICU. Returns true on success | ||||
. | ||||
*/ | ||||
static bool InitializeICU(); | ||||
private: | private: | |||
V8(); | V8(); | |||
static internal::Object** GlobalizeReference(internal::Isolate* isolate, | static internal::Object** GlobalizeReference(internal::Isolate* isolate, | |||
internal::Object** handle); | internal::Object** handle); | |||
static void DisposeGlobal(internal::Object** global_handle); | static void DisposeGlobal(internal::Object** global_handle); | |||
typedef WeakReferenceCallbacks<Value, void>::Revivable RevivableCallback; | typedef WeakReferenceCallbacks<Value, void>::Revivable RevivableCallback; | |||
static void MakeWeak(internal::Object** global_handle, | static void MakeWeak(internal::Object** global_handle, | |||
void* data, | void* data, | |||
RevivableCallback weak_reference_callback); | RevivableCallback weak_reference_callback); | |||
skipping to change at line 5280 | skipping to change at line 5286 | |||
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 = 1 * kApiPointerSize; | static const int kIsolateEmbedderDataOffset = 1 * kApiPointerSize; | |||
static const int kIsolateRootsOffset = 3 * kApiPointerSize; | static const int kIsolateRootsOffset = 3 * 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 = 131; | static const int kEmptyStringRootIndex = 132; | |||
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 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; | |||
static const int kJSObjectType = 0xb1; | static const int kJSObjectType = 0xb1; | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 8 lines changed or added | |||