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

Unified Diff: src/objects.h

Issue 11365174: A change in the way we place TransitionElementKinds in the tree. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Now have instruction writing, map check updating. Created 8 years, 1 month 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
Index: src/objects.h
diff --git a/src/objects.h b/src/objects.h
index 275c706d3bc8a8b8ff6f0dc824be8ae4488c428f..b671a98414ceb36c5fe47e1275fe3671148884e4 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4696,6 +4696,9 @@ class Code: public HeapObject {
};
+Map* FindClosestElementsTransition(Map* map, ElementsKind to_kind);
+
+
// All heap objects have a Map that describes their structure.
// A Map contains information about:
// - Size information about the object
@@ -4874,6 +4877,7 @@ class Map: public HeapObject {
MUST_USE_RESULT inline MaybeObject* AddTransition(String* key,
Map* target,
SimpleTransitionFlag flag);
+ MaybeObject* AddMissingElementsTransitions(ElementsKind to_kind);
DECL_ACCESSORS(transitions, TransitionArray)
inline void ClearTransitions(Heap* heap,
WriteBarrierMode mode = UPDATE_WRITE_BARRIER);
@@ -5115,7 +5119,6 @@ class Map: public HeapObject {
// elements_kind that's found in |candidates|, or null handle if no match is
// found at all.
Handle<Map> FindTransitionedMap(MapHandleList* candidates);
- Map* FindTransitionedMap(MapList* candidates);
// Zaps the contents of backing data structures. Note that the
// heap verifier (i.e. VerifyMarkingVisitor) relies on zapping of objects
« src/hydrogen.cc ('K') | « src/hydrogen-instructions.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698