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

Unified Diff: src/elements.h

Issue 1198343004: Merge AddFastElement and AddFastDoubleElement (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 | « src/builtins.cc ('k') | src/hydrogen-instructions.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 1f36495e98047862dbca7e9e4ecfcb49a0ef20a3..bab02b86dec5eb730aae67fac3f52f9f702041c8 100644
--- a/src/elements.h
+++ b/src/elements.h
@@ -138,6 +138,9 @@ class ElementsAccessor {
static void InitializeOncePerProcess();
static void TearDown();
+ virtual void Set(FixedArrayBase* backing_store, uint32_t key,
+ Object* value) = 0;
+
protected:
friend class SloppyArgumentsElementsAccessor;
friend class LookupIterator;
@@ -164,9 +167,6 @@ class ElementsAccessor {
uint32_t index) = 0;
virtual bool HasIndex(FixedArrayBase* backing_store, uint32_t key) = 0;
- virtual void Set(FixedArrayBase* backing_store, uint32_t key,
- Object* value) = 0;
-
private:
static ElementsAccessor** elements_accessors_;
const char* name_;
« no previous file with comments | « src/builtins.cc ('k') | src/hydrogen-instructions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698