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

Unified Diff: src/elements.h

Issue 1224533003: Remove obsolete GetAccessorPair from ElementsAccessor (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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/elements.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/elements.h
diff --git a/src/elements.h b/src/elements.h
index 02c15909772fb53fa305b929f477abe7c29eab6d..6fe19559996e695e91c8ba8e8cf38e1f707428c8 100644
--- a/src/elements.h
+++ b/src/elements.h
@@ -54,20 +54,6 @@ class ElementsAccessor {
return Get(holder, key, handle(holder->elements()));
}
- // Returns an element's accessors, or NULL if the element does not exist or
- // is plain. This method doesn't iterate up the prototype chain. The caller
- // can optionally pass in the backing store to use for the check, which must
- // be compatible with the ElementsKind of the ElementsAccessor. If
- // backing_store is NULL, the holder->elements() is used as the backing store.
- virtual MaybeHandle<AccessorPair> GetAccessorPair(
- Handle<JSObject> holder, uint32_t key,
- Handle<FixedArrayBase> backing_store) = 0;
-
- inline MaybeHandle<AccessorPair> GetAccessorPair(Handle<JSObject> holder,
- uint32_t key) {
- return GetAccessorPair(holder, key, handle(holder->elements()));
- }
-
// Modifies the length data property as specified for JSArrays and resizes the
// underlying backing store accordingly. The method honors the semantics of
// changing array sizes as defined in EcmaScript 5.1 15.4.5.2, i.e. array that
« no previous file with comments | « no previous file | src/elements.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698