v8.h   v8.h 
skipping to change at line 4443 skipping to change at line 4443
*/ */
static void SetJitCodeEventHandler(JitCodeEventOptions options, static void SetJitCodeEventHandler(JitCodeEventOptions options,
JitCodeEventHandler event_handler); JitCodeEventHandler event_handler);
// TODO(svenpanne) Really deprecate me when Chrome is fixed. // TODO(svenpanne) Really deprecate me when Chrome is fixed.
/** Deprecated. Use Isolate::AdjustAmountOfExternalAllocatedMemory instea d. */ /** Deprecated. Use Isolate::AdjustAmountOfExternalAllocatedMemory instea d. */
static intptr_t AdjustAmountOfExternalAllocatedMemory( static intptr_t AdjustAmountOfExternalAllocatedMemory(
intptr_t change_in_bytes); intptr_t change_in_bytes);
/** /**
* Suspends recording of tick samples in the profiler.
* When the V8 profiling mode is enabled (usually via command line
* switches) this function suspends recording of tick samples.
* Profiling ticks are discarded until ResumeProfiler() is called.
*
* See also the --prof and --prof_auto command line switches to
* enable V8 profiling.
*/
V8_DEPRECATED(static void PauseProfiler());
/**
* Resumes recording of tick samples in the profiler.
* See also PauseProfiler().
*/
V8_DEPRECATED(static void ResumeProfiler());
/**
* Return whether profiler is currently paused.
*/
V8_DEPRECATED(static bool IsProfilerPaused());
/**
* Retrieve the V8 thread id of the calling thread. * Retrieve the V8 thread id of the calling thread.
* *
* The thread id for a thread should only be retrieved after the V8 * The thread id for a thread should only be retrieved after the V8
* lock has been acquired with a Locker object with that thread. * lock has been acquired with a Locker object with that thread.
*/ */
static int GetCurrentThreadId(); static int GetCurrentThreadId();
/** /**
* Forcefully terminate execution of a JavaScript thread. This can * Forcefully terminate execution of a JavaScript thread. This can
* be used to terminate long-running scripts. * be used to terminate long-running scripts.
skipping to change at line 5480 skipping to change at line 5458
T* that_ptr = that; T* that_ptr = that;
internal::Object** p = reinterpret_cast<internal::Object**>(that_ptr); internal::Object** p = reinterpret_cast<internal::Object**>(that_ptr);
return Local<T>(reinterpret_cast<T*>(HandleScope::CreateHandle( return Local<T>(reinterpret_cast<T*>(HandleScope::CreateHandle(
reinterpret_cast<internal::Isolate*>(isolate), *p))); reinterpret_cast<internal::Isolate*>(isolate), *p)));
} }
template<class T> template<class T>
template<class S> template<class S>
void Eternal<T>::Set(Isolate* isolate, Local<S> handle) { void Eternal<T>::Set(Isolate* isolate, Local<S> handle) {
TYPE_CHECK(T, S); TYPE_CHECK(T, S);
V8::Eternalize(isolate, Value::Cast(*handle), &this->index_); V8::Eternalize(isolate, reinterpret_cast<Value*>(*handle), &this->index_) ;
} }
template<class T> template<class T>
Local<T> Eternal<T>::Get(Isolate* isolate) { Local<T> Eternal<T>::Get(Isolate* isolate) {
return Local<T>::Cast(V8::GetEternal(isolate, index_)); return Local<T>(reinterpret_cast<T*>(*V8::GetEternal(isolate, index_)));
} }
#ifdef V8_USE_UNSAFE_HANDLES #ifdef V8_USE_UNSAFE_HANDLES
template <class T> template <class T>
Persistent<T> Persistent<T>::New(Handle<T> that) { Persistent<T> Persistent<T>::New(Handle<T> that) {
return New(Isolate::GetCurrent(), that.val_); return New(Isolate::GetCurrent(), that.val_);
} }
template <class T> template <class T>
Persistent<T> Persistent<T>::New(Isolate* isolate, Handle<T> that) { Persistent<T> Persistent<T>::New(Isolate* isolate, Handle<T> that) {
 End of changes. 3 change blocks. 
24 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/