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

Unified Diff: src/objects.h

Issue 260313003: OrderedHashTable::FindEntry() handlified. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | « no previous file | 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 86cd853e95a60908e043106c3d85362721718e29..113bcc85c487451afa7c3f747e9c625b26bcdb64 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4271,7 +4271,7 @@ class OrderedHashTable: public FixedArray {
static Handle<Derived> Clear(Handle<Derived> table);
// Returns kNotFound if the key isn't present.
- int FindEntry(Object* key);
+ int FindEntry(Handle<Object> key);
int NumberOfElements() {
return Smi::cast(get(kNumberOfElementsIndex))->value();
@@ -4370,7 +4370,7 @@ class OrderedHashSet: public OrderedHashTable<
return reinterpret_cast<OrderedHashSet*>(obj);
}
- bool Contains(Object* key);
+ bool Contains(Handle<Object> key);
static Handle<OrderedHashSet> Add(
Handle<OrderedHashSet> table, Handle<Object> key);
static Handle<OrderedHashSet> Remove(
« no previous file with comments | « no previous file | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698