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

Unified Diff: src/runtime/runtime.h

Issue 900123003: Add NativeWeakMap to v8.h (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Applied r26428 Created 5 years, 10 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/factory.cc ('k') | src/runtime/runtime-collections.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/runtime/runtime.h
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h
index 1fc6600262f32b65ea8e069e9aa4a65dc152d1e2..1bcfd6ecb18f6aedffe57eefd2c58593363e2b28 100644
--- a/src/runtime/runtime.h
+++ b/src/runtime/runtime.h
@@ -874,6 +874,13 @@ class Runtime : public AllStatic {
MUST_USE_RESULT static MaybeHandle<Object> CreateArrayLiteralBoilerplate(
Isolate* isolate, Handle<FixedArray> literals,
Handle<FixedArray> elements);
+
+ static void WeakCollectionInitialize(
+ Isolate* isolate, Handle<JSWeakCollection> weak_collection);
+ static void WeakCollectionSet(Handle<JSWeakCollection> weak_collection,
+ Handle<Object> key, Handle<Object> value);
+ static bool WeakCollectionDelete(Handle<JSWeakCollection> weak_collection,
+ Handle<Object> key);
};
« no previous file with comments | « src/factory.cc ('k') | src/runtime/runtime-collections.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698