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

Unified Diff: src/objects.h

Issue 6735001: [Arguments] Support HasElement and ReferencesObject for arguments objects. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/arguments
Patch Set: Created 9 years, 9 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 d3083ccf3501c9d1933c099db3b1f077cbf1e10d..acd06402bb363d4bb34fa3bc1ce4357e26943235 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -1871,12 +1871,17 @@ class JSObject: public HeapObject {
DeleteMode mode);
MUST_USE_RESULT MaybeObject* DeleteElementWithInterceptor(uint32_t index);
- // Deletion utilities taking an explicit backing store argument.
- void DeleteFromFastElements(FixedArray* elements, uint32_t index);
- MUST_USE_RESULT MaybeObject* DeleteFromDictionaryElements(
- NumberDictionary* elements,
- uint32_t index,
- DeleteMode mode);
+ // Utilities taking an explicit backing store arguments.
+ MUST_USE_RESULT MaybeObject* DeleteFromElements(FixedArray* elements,
+ ElementsKind kind,
+ uint32_t index,
+ DeleteMode mode);
+ bool ReferencesObjectFromElements(FixedArray* elements,
+ ElementsKind kind,
+ Object* object);
+ bool HasElementInElements(FixedArray* elements,
+ ElementsKind kind,
+ uint32_t index);
PropertyAttributes GetPropertyAttributePostInterceptor(JSObject* receiver,
String* name,
« 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