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

Unified Diff: src/objects.h

Issue 1297273005: Keep track of script objects in a weak fixed array. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: do not remove gc. Created 5 years, 4 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/heap/heap.cc ('k') | src/objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index a136a93a5c31a91e33750dc40e9c354fa62d50e4..1f5c22ce971dd9113eaa0d36c1fa412d8261a576 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -991,7 +991,6 @@ template <class C> inline bool Is(Object* obj);
V(WeakCell) \
V(ObjectHashTable) \
V(WeakHashTable) \
- V(WeakValueHashTable) \
V(OrderedHashTable)
// Object is the abstract superclass for all classes in the
@@ -3742,26 +3741,6 @@ class WeakHashTable: public HashTable<WeakHashTable,
};
-class WeakValueHashTable : public ObjectHashTable {
- public:
- DECLARE_CAST(WeakValueHashTable)
-
-#ifdef DEBUG
- // Looks up the value associated with the given key. The hole value is
- // returned in case the key is not present.
- Object* LookupWeak(Handle<Object> key);
-#endif // DEBUG
-
- // Adds (or overwrites) the value associated with the given key. Mapping a
- // key to the hole value causes removal of the whole entry.
- MUST_USE_RESULT static Handle<WeakValueHashTable> PutWeak(
- Handle<WeakValueHashTable> table, Handle<Object> key,
- Handle<HeapObject> value);
-
- static Handle<FixedArray> GetWeakValues(Handle<WeakValueHashTable> table);
-};
-
-
// ScopeInfo represents information about different scopes of a source
// program and the allocation of the scope's variables. Scope information
// is stored in a compressed form in ScopeInfo objects and is used
« no previous file with comments | « src/heap/heap.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698