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

Unified Diff: src/objects.h

Issue 1156573002: [strong] Implement per-object restrictions behaviour of delete operator (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cl feedback Created 5 years, 7 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 4b7341ece9f02d2e7f1aa0886c2a67cfc47f1f1c..e38ce5a55e6a620dad68a598cc75fbeb2bf4c8f9 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -3618,7 +3618,8 @@ class Dictionary: public HashTable<Derived, Shape, Key> {
}
// Delete a property from the dictionary.
- static Handle<Object> DeleteProperty(Handle<Derived> dictionary, int entry);
+ static Handle<Object> DeleteProperty(Handle<Derived> dictionary, int entry,
+ bool strong_obj = false);
// Attempt to shrink the dictionary after deletion of key.
MUST_USE_RESULT static inline Handle<Derived> Shrink(

Powered by Google App Engine
This is Rietveld 408576698