| Index: src/handles.h
|
| diff --git a/src/handles.h b/src/handles.h
|
| index 0cd4f5bca9aea0fc5ae9e19a36845ae1f9757a23..140c34e9ba3d096bb538a22dba84e53a2e28b3c0 100644
|
| --- a/src/handles.h
|
| +++ b/src/handles.h
|
| @@ -30,6 +30,7 @@
|
|
|
| #include "allocation.h"
|
| #include "apiutils.h"
|
| +#include "objects.h"
|
|
|
| namespace v8 {
|
| namespace internal {
|
| @@ -105,6 +106,13 @@ inline Handle<T> handle(T* t, Isolate* isolate) {
|
| }
|
|
|
|
|
| +// Convenience wrapper.
|
| +template<class T>
|
| +inline Handle<T> handle(T* t) {
|
| + return Handle<T>(t, t->GetIsolate());
|
| +}
|
| +
|
| +
|
| class DeferredHandles;
|
| class HandleScopeImplementer;
|
|
|
| @@ -244,8 +252,6 @@ Handle<Object> GetProperty(Isolate* isolate,
|
| Handle<Object> obj,
|
| Handle<Object> key);
|
|
|
| -Handle<Object> SetPrototype(Handle<JSObject> obj, Handle<Object> value);
|
| -
|
| Handle<Object> LookupSingleCharacterStringFromCode(Isolate* isolate,
|
| uint32_t index);
|
|
|
|
|