Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: src/handles.h

Issue 148503002: A64: Synchronize with r15545. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/globals.h ('k') | src/handles.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « src/globals.h ('k') | src/handles.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698