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

Side by Side Diff: src/objects.cc

Issue 659363002: More details printed for Map, DescriptorArray and TransitionArray. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: gdbinit updated Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects.h ('k') | src/objects-printer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <sstream> 5 #include <sstream>
6 6
7 #include "src/v8.h" 7 #include "src/v8.h"
8 8
9 #include "src/accessors.h" 9 #include "src/accessors.h"
10 #include "src/allocation-site-scopes.h" 10 #include "src/allocation-site-scopes.h"
(...skipping 13180 matching lines...) Expand 10 before | Expand all | Expand 10 after
13191 int capacity = DerivedHashTable::Capacity(); 13191 int capacity = DerivedHashTable::Capacity();
13192 for (int i = 0; i < capacity; i++) { 13192 for (int i = 0; i < capacity; i++) {
13193 Object* k = DerivedHashTable::KeyAt(i); 13193 Object* k = DerivedHashTable::KeyAt(i);
13194 if (DerivedHashTable::IsKey(k)) { 13194 if (DerivedHashTable::IsKey(k)) {
13195 os << " "; 13195 os << " ";
13196 if (k->IsString()) { 13196 if (k->IsString()) {
13197 String::cast(k)->StringPrint(os); 13197 String::cast(k)->StringPrint(os);
13198 } else { 13198 } else {
13199 os << Brief(k); 13199 os << Brief(k);
13200 } 13200 }
13201 os << ": " << Brief(ValueAt(i)) << "\n"; 13201 os << ": " << Brief(ValueAt(i)) << " " << DetailsAt(i) << "\n";
13202 } 13202 }
13203 } 13203 }
13204 } 13204 }
13205 #endif 13205 #endif
13206 13206
13207 13207
13208 template<typename Derived, typename Shape, typename Key> 13208 template<typename Derived, typename Shape, typename Key>
13209 void Dictionary<Derived, Shape, Key>::CopyValuesTo(FixedArray* elements) { 13209 void Dictionary<Derived, Shape, Key>::CopyValuesTo(FixedArray* elements) {
13210 int pos = 0; 13210 int pos = 0;
13211 int capacity = DerivedHashTable::Capacity(); 13211 int capacity = DerivedHashTable::Capacity();
(...skipping 3299 matching lines...) Expand 10 before | Expand all | Expand 10 after
16511 Handle<DependentCode> codes = 16511 Handle<DependentCode> codes =
16512 DependentCode::Insert(handle(cell->dependent_code(), info->isolate()), 16512 DependentCode::Insert(handle(cell->dependent_code(), info->isolate()),
16513 DependentCode::kPropertyCellChangedGroup, 16513 DependentCode::kPropertyCellChangedGroup,
16514 info->object_wrapper()); 16514 info->object_wrapper());
16515 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes); 16515 if (*codes != cell->dependent_code()) cell->set_dependent_code(*codes);
16516 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add( 16516 info->dependencies(DependentCode::kPropertyCellChangedGroup)->Add(
16517 cell, info->zone()); 16517 cell, info->zone());
16518 } 16518 }
16519 16519
16520 } } // namespace v8::internal 16520 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698