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

Unified Diff: src/api.cc

Issue 13786002: [WIP] New GC related APIs. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: use old testing machinery Created 7 years, 8 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 | « include/v8.h ('k') | src/global-handles.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index a7b45c4307e7a51b2642d94e6c77a56c18cac0a8..9ade71393e288dd52ccd845a5330a71a71a7e075 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -5797,6 +5797,23 @@ void V8::AddObjectGroup(Isolate* exported_isolate,
}
+void V8::SetObjectGroupId(Isolate* exported_isolate,
+ const Persistent<Value>& object,
+ UniqueId id) {
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(exported_isolate);
+ isolate->global_handles()->SetObjectGroupId(
+ reinterpret_cast<i::Object**>(*object), id);
+}
+
+
+void V8::SetRetainedObjectInfo(Isolate* exported_isolate,
+ UniqueId id,
+ RetainedObjectInfo* info) {
+ i::Isolate* isolate = reinterpret_cast<i::Isolate*>(exported_isolate);
+ isolate->global_handles()->SetRetainedObjectInfo(id, info);
+}
+
+
void V8::AddImplicitReferences(Persistent<Object> parent,
Persistent<Value>* children,
size_t length) {
« no previous file with comments | « include/v8.h ('k') | src/global-handles.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698