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

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

Issue 1731063007: Remove the global Strength enum class completely. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_strong-remove-literals
Patch Set: Remove more cruft. Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime.h » ('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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 if (is_dictionary_map()) os << "\n - dictionary_map"; 459 if (is_dictionary_map()) os << "\n - dictionary_map";
460 if (has_hidden_prototype()) os << "\n - has_hidden_prototype"; 460 if (has_hidden_prototype()) os << "\n - has_hidden_prototype";
461 if (has_named_interceptor()) os << " - named_interceptor"; 461 if (has_named_interceptor()) os << " - named_interceptor";
462 if (has_indexed_interceptor()) os << "\n - indexed_interceptor"; 462 if (has_indexed_interceptor()) os << "\n - indexed_interceptor";
463 if (is_undetectable()) os << "\n - undetectable"; 463 if (is_undetectable()) os << "\n - undetectable";
464 if (is_callable()) os << "\n - callable"; 464 if (is_callable()) os << "\n - callable";
465 if (is_constructor()) os << "\n - constructor"; 465 if (is_constructor()) os << "\n - constructor";
466 if (is_access_check_needed()) os << "\n - access_check_needed"; 466 if (is_access_check_needed()) os << "\n - access_check_needed";
467 if (!is_extensible()) os << "\n - non-extensible"; 467 if (!is_extensible()) os << "\n - non-extensible";
468 if (is_observed()) os << "\n - observed"; 468 if (is_observed()) os << "\n - observed";
469 if (is_strong()) os << "\n - strong_map";
470 if (is_prototype_map()) { 469 if (is_prototype_map()) {
471 os << "\n - prototype_map"; 470 os << "\n - prototype_map";
472 os << "\n - prototype info: " << Brief(prototype_info()); 471 os << "\n - prototype info: " << Brief(prototype_info());
473 } else { 472 } else {
474 os << "\n - back pointer: " << Brief(GetBackPointer()); 473 os << "\n - back pointer: " << Brief(GetBackPointer());
475 } 474 }
476 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "") 475 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "")
477 << "#" << NumberOfOwnDescriptors() << ": " 476 << "#" << NumberOfOwnDescriptors() << ": "
478 << Brief(instance_descriptors()); 477 << Brief(instance_descriptors());
479 if (FLAG_unbox_double_fields) { 478 if (FLAG_unbox_double_fields) {
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1322 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1324 Object* transitions = map()->raw_transitions(); 1323 Object* transitions = map()->raw_transitions();
1325 int num_transitions = TransitionArray::NumberOfTransitions(transitions); 1324 int num_transitions = TransitionArray::NumberOfTransitions(transitions);
1326 if (num_transitions == 0) return; 1325 if (num_transitions == 0) return;
1327 os << "\n - transitions"; 1326 os << "\n - transitions";
1328 TransitionArray::PrintTransitions(os, transitions, false); 1327 TransitionArray::PrintTransitions(os, transitions, false);
1329 } 1328 }
1330 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1329 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1331 } // namespace internal 1330 } // namespace internal
1332 } // namespace v8 1331 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698