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

Unified Diff: src/objects-debug.cc

Issue 10692026: Moving prototype transitions into the header of the transition array. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update Created 8 years, 5 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
Index: src/objects-debug.cc
diff --git a/src/objects-debug.cc b/src/objects-debug.cc
index 6d54d3a4ed182fd036843456d092bd72a033637f..7feaf448f529fd8981743f4d3804aec691f7e0b1 100644
--- a/src/objects-debug.cc
+++ b/src/objects-debug.cc
@@ -1008,7 +1008,6 @@ void NormalizedMapCache::NormalizedMapCacheVerify() {
void Map::ZapTransitions() {
TransitionArray* transition_array = transitions();
- if (transition_array == NULL) return;
MemsetPointer(transition_array->data_start(),
GetHeap()->the_hole_value(),
transition_array->length());

Powered by Google App Engine
This is Rietveld 408576698