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

Unified Diff: src/elements.h

Issue 1180753005: Cleanup typed array setters, the property is guaranteed to be there. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase 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 3067e56adb9dc189677ec524a3afd64a83fe3685..28bf0a199451a7fb2e014ff158a3ec3b3e4e0f9c 100644
--- a/src/elements.h
+++ b/src/elements.h
@@ -43,10 +43,6 @@ class ElementsAccessor {
return HasElement(holder, key, handle(holder->elements()));
}
- inline void Set(Handle<JSObject> holder, uint32_t key, Handle<Object> value) {
- Set(holder, key, handle(holder->elements()), value);
- }
-
// Returns the element with the specified key or undefined if there is no such
// element. 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
@@ -179,8 +175,7 @@ class ElementsAccessor {
uint32_t index) = 0;
virtual bool HasIndex(FixedArrayBase* backing_store, uint32_t key) = 0;
- virtual void Set(Handle<JSObject> holder, uint32_t key,
- Handle<FixedArrayBase> backing_store,
+ virtual void Set(Handle<FixedArrayBase> backing_store, uint32_t key,
Handle<Object> value) = 0;
private:
« 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