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

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

Issue 1217893012: Remove deprecated v8::Object::TurnOnAccessCheck() from the V8 API. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Deoptimizer::DeoptimizeGlobalObject() removed Created 5 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 unified diff | Download patch
« no previous file with comments | « src/deoptimizer.cc ('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/v8.h" 5 #include "src/v8.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/heap/objects-visiting.h" 9 #include "src/heap/objects-visiting.h"
10 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 os << " - type: " << TypeToString(instance_type()) << "\n"; 411 os << " - type: " << TypeToString(instance_type()) << "\n";
412 os << " - instance size: " << instance_size() << "\n"; 412 os << " - instance size: " << instance_size() << "\n";
413 os << " - inobject properties: " << inobject_properties() << "\n"; 413 os << " - inobject properties: " << inobject_properties() << "\n";
414 os << " - elements kind: " << ElementsKindToString(elements_kind()); 414 os << " - elements kind: " << ElementsKindToString(elements_kind());
415 os << "\n - pre-allocated property fields: " 415 os << "\n - pre-allocated property fields: "
416 << pre_allocated_property_fields() << "\n"; 416 << pre_allocated_property_fields() << "\n";
417 os << " - unused property fields: " << unused_property_fields() << "\n"; 417 os << " - unused property fields: " << unused_property_fields() << "\n";
418 if (is_deprecated()) os << " - deprecated_map\n"; 418 if (is_deprecated()) os << " - deprecated_map\n";
419 if (is_stable()) os << " - stable_map\n"; 419 if (is_stable()) os << " - stable_map\n";
420 if (is_dictionary_map()) os << " - dictionary_map\n"; 420 if (is_dictionary_map()) os << " - dictionary_map\n";
421 if (is_prototype_map()) {
422 os << " - prototype_map\n";
423 os << " - prototype info: " << Brief(prototype_info());
424 } else {
425 os << " - back pointer: " << Brief(GetBackPointer());
426 }
427 if (is_hidden_prototype()) os << " - hidden_prototype\n"; 421 if (is_hidden_prototype()) os << " - hidden_prototype\n";
428 if (has_named_interceptor()) os << " - named_interceptor\n"; 422 if (has_named_interceptor()) os << " - named_interceptor\n";
429 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; 423 if (has_indexed_interceptor()) os << " - indexed_interceptor\n";
430 if (is_undetectable()) os << " - undetectable\n"; 424 if (is_undetectable()) os << " - undetectable\n";
431 if (has_instance_call_handler()) os << " - instance_call_handler\n"; 425 if (has_instance_call_handler()) os << " - instance_call_handler\n";
432 if (is_access_check_needed()) os << " - access_check_needed\n"; 426 if (is_access_check_needed()) os << " - access_check_needed\n";
433 if (!is_extensible()) os << " - non-extensible\n"; 427 if (!is_extensible()) os << " - non-extensible\n";
434 if (is_observed()) os << " - observed\n"; 428 if (is_observed()) os << " - observed\n";
429 if (is_prototype_map()) {
430 os << " - prototype_map\n";
431 os << " - prototype info: " << Brief(prototype_info());
432 } else {
433 os << " - back pointer: " << Brief(GetBackPointer());
434 }
435 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "") 435 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "")
436 << "#" << NumberOfOwnDescriptors() << ": " 436 << "#" << NumberOfOwnDescriptors() << ": "
437 << Brief(instance_descriptors()); 437 << Brief(instance_descriptors());
438 if (FLAG_unbox_double_fields) { 438 if (FLAG_unbox_double_fields) {
439 os << "\n - layout descriptor: " << Brief(layout_descriptor()); 439 os << "\n - layout descriptor: " << Brief(layout_descriptor());
440 } 440 }
441 if (TransitionArray::NumberOfTransitions(raw_transitions()) > 0) { 441 if (TransitionArray::NumberOfTransitions(raw_transitions()) > 0) {
442 os << "\n - transitions: "; 442 os << "\n - transitions: ";
443 TransitionArray::PrintTransitions(os, raw_transitions()); 443 TransitionArray::PrintTransitions(os, raw_transitions());
444 } 444 }
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
1172 } 1172 }
1173 } 1173 }
1174 1174
1175 1175
1176 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1176 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1177 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1177 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1178 } 1178 }
1179 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1179 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1180 } // namespace internal 1180 } // namespace internal
1181 } // namespace v8 1181 } // namespace v8
OLDNEW
« no previous file with comments | « src/deoptimizer.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698