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

Unified Diff: src/objects.h

Issue 15014020: Elide hole checks on KeyedLoads of holey double arrays. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merge with ToT Created 7 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/isolate.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 1b4ed5b3b572e8b7cb17b85bddf6479496ef692b..5d9fd23bdbc6363e818a7e7bbb37bcde04fa5b7c 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4968,7 +4968,10 @@ class DependentCode: public FixedArray {
// described by this map changes shape (and transitions to a new map),
// possibly invalidating the assumptions embedded in the code.
kPrototypeCheckGroup,
- kGroupCount = kPrototypeCheckGroup + 1
+ // Group of code that depends on elements not being added to objects with
+ // this map.
+ kElementsCantBeAddedGroup,
+ kGroupCount = kElementsCantBeAddedGroup + 1
};
// Array for holding the index of the first code object of each group.
@@ -5500,6 +5503,8 @@ class Map: public HeapObject {
inline void AddDependentCode(DependentCode::DependencyGroup group,
Handle<Code> code);
+ bool IsMapInArrayPrototypeChain();
+
// Dispatched behavior.
DECLARE_PRINTER(Map)
DECLARE_VERIFIER(Map)
« no previous file with comments | « src/isolate.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698