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

Unified Diff: src/objects.h

Issue 1148863002: Fix for-in for large indexes and indexes on proxies (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « src/elements.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 33aa523d55006e371708bc41e55a57ab8c1cddfe..4b7341ece9f02d2e7f1aa0886c2a67cfc47f1f1c 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1107,6 +1107,11 @@ class Object {
return true;
}
+ // Checks whether two valid primitive encodings of a property name resolve to
+ // the same logical property. E.g., the smi 1, the string "1" and the double
+ // 1 all refer to the same property, so this helper will return true.
+ inline bool KeyEquals(Object* other);
+
Handle<HeapType> OptimalType(Isolate* isolate, Representation representation);
inline static Handle<Object> NewStorageFor(Isolate* isolate,
« no previous file with comments | « src/elements.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698