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

Unified Diff: src/objects-inl.h

Issue 309663005: Split Put into Put and Remove (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix comments Created 6 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-inl.h
diff --git a/src/objects-inl.h b/src/objects-inl.h
index 29fcec6017a29ec87ce8e352de6690c33c78c1dd..d2b5c183bfa804b35d331127af80eaf84b1f4f45 100644
--- a/src/objects-inl.h
+++ b/src/objects-inl.h
@@ -6575,6 +6575,14 @@ Handle<ObjectHashTable> ObjectHashTable::Shrink(
}
+template<class Derived, class Iterator, int entrysize>
+Handle<Derived> OrderedHashTable<Derived, Iterator, entrysize>::Remove(
+ Handle<Derived> table, Handle<Object> key) {
+ bool was_present;
+ return Remove(table, key, &was_present);
+}
+
+
template <int entrysize>
bool WeakHashTableShape<entrysize>::IsMatch(Handle<Object> key, Object* other) {
return key->SameValue(other);

Powered by Google App Engine
This is Rietveld 408576698