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

Unified Diff: src/objects.cc

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: 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.cc
diff --git a/src/objects.cc b/src/objects.cc
index 551b8edd4905c6bf38652fddaa6370d2f7e96439..162eebeb3beb25fd48647093c8faf34060aba7bd 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -2306,7 +2306,7 @@ Handle<Map> Map::FindTransitionedMap(MapHandleList* candidates) {
}
-static Map* FindClosestElementsTransition(Map* map, ElementsKind to_kind) {
+Map* FindClosestElementsTransition(Map* map, ElementsKind to_kind) {
Map* current_map = map;
int index = GetSequenceIndexFromFastElementsKind(map->elements_kind());
int to_index = IsFastElementsKind(to_kind)
@@ -2337,8 +2337,7 @@ Map* Map::LookupElementsTransitionMap(ElementsKind to_kind) {
}
-static MaybeObject* AddMissingElementsTransitions(Map* map,
- ElementsKind to_kind) {
+MaybeObject* AddMissingElementsTransitions(Map* map, ElementsKind to_kind) {
danno 2012/11/14 15:28:18 Perhaps it is time to move this to be part of the
mvstanton 2012/11/16 15:15:06 Done.
ASSERT(IsFastElementsKind(map->elements_kind()));
int index = GetSequenceIndexFromFastElementsKind(map->elements_kind());
int to_index = IsFastElementsKind(to_kind)
« src/hydrogen-instructions.h ('K') | « src/objects.h ('k') | src/v8-counters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698