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

Side by Side Diff: src/objects-printer.cc

Issue 1506683004: Free one bit in Map by removing unused retaining counter. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « src/objects-inl.h ('k') | src/ppc/builtins-ppc.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 "src/objects.h" 5 #include "src/objects.h"
6 6
7 #include "src/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/interpreter/bytecodes.h" 9 #include "src/interpreter/bytecodes.h"
10 #include "src/objects-inl.h" 10 #include "src/objects-inl.h"
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 int nof_transitions = TransitionArray::NumberOfTransitions(raw_transitions()); 477 int nof_transitions = TransitionArray::NumberOfTransitions(raw_transitions());
478 if (nof_transitions > 0) { 478 if (nof_transitions > 0) {
479 os << "\n - transitions #" << nof_transitions << ": " 479 os << "\n - transitions #" << nof_transitions << ": "
480 << Brief(raw_transitions()); 480 << Brief(raw_transitions());
481 TransitionArray::PrintTransitions(os, raw_transitions(), false); 481 TransitionArray::PrintTransitions(os, raw_transitions(), false);
482 } 482 }
483 os << "\n - prototype: " << Brief(prototype()); 483 os << "\n - prototype: " << Brief(prototype());
484 os << "\n - constructor: " << Brief(GetConstructor()); 484 os << "\n - constructor: " << Brief(GetConstructor());
485 os << "\n - code cache: " << Brief(code_cache()); 485 os << "\n - code cache: " << Brief(code_cache());
486 os << "\n - dependent code: " << Brief(dependent_code()); 486 os << "\n - dependent code: " << Brief(dependent_code());
487 os << "\n - counter: " << counter(); 487 os << "\n - construction counter: " << construction_counter();
488 os << "\n"; 488 os << "\n";
489 } 489 }
490 490
491 491
492 void CodeCache::CodeCachePrint(std::ostream& os) { // NOLINT 492 void CodeCache::CodeCachePrint(std::ostream& os) { // NOLINT
493 HeapObject::PrintHeader(os, "CodeCache"); 493 HeapObject::PrintHeader(os, "CodeCache");
494 os << "\n - default_cache: " << Brief(default_cache()); 494 os << "\n - default_cache: " << Brief(default_cache());
495 os << "\n - normal_type_cache: " << Brief(normal_type_cache()); 495 os << "\n - normal_type_cache: " << Brief(normal_type_cache());
496 } 496 }
497 497
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
1313 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1313 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1314 Object* transitions = map()->raw_transitions(); 1314 Object* transitions = map()->raw_transitions();
1315 int num_transitions = TransitionArray::NumberOfTransitions(transitions); 1315 int num_transitions = TransitionArray::NumberOfTransitions(transitions);
1316 if (num_transitions == 0) return; 1316 if (num_transitions == 0) return;
1317 os << "\n - transitions"; 1317 os << "\n - transitions";
1318 TransitionArray::PrintTransitions(os, transitions, false); 1318 TransitionArray::PrintTransitions(os, transitions, false);
1319 } 1319 }
1320 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1320 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1321 } // namespace internal 1321 } // namespace internal
1322 } // namespace v8 1322 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/ppc/builtins-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698