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

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

Issue 1316933002: [es6] Initial steps towards a correct implementation of IsCallable. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase again. Created 5 years, 3 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/promise.js » ('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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 } 446 }
447 os << " - elements kind: " << ElementsKindToString(elements_kind()) << "\n"; 447 os << " - elements kind: " << ElementsKindToString(elements_kind()) << "\n";
448 os << " - unused property fields: " << unused_property_fields() << "\n"; 448 os << " - unused property fields: " << unused_property_fields() << "\n";
449 if (is_deprecated()) os << " - deprecated_map\n"; 449 if (is_deprecated()) os << " - deprecated_map\n";
450 if (is_stable()) os << " - stable_map\n"; 450 if (is_stable()) os << " - stable_map\n";
451 if (is_dictionary_map()) os << " - dictionary_map\n"; 451 if (is_dictionary_map()) os << " - dictionary_map\n";
452 if (is_hidden_prototype()) os << " - hidden_prototype\n"; 452 if (is_hidden_prototype()) os << " - hidden_prototype\n";
453 if (has_named_interceptor()) os << " - named_interceptor\n"; 453 if (has_named_interceptor()) os << " - named_interceptor\n";
454 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; 454 if (has_indexed_interceptor()) os << " - indexed_interceptor\n";
455 if (is_undetectable()) os << " - undetectable\n"; 455 if (is_undetectable()) os << " - undetectable\n";
456 if (has_instance_call_handler()) os << " - instance_call_handler\n"; 456 if (is_callable()) os << " - callable\n";
457 if (is_access_check_needed()) os << " - access_check_needed\n"; 457 if (is_access_check_needed()) os << " - access_check_needed\n";
458 if (!is_extensible()) os << " - non-extensible\n"; 458 if (!is_extensible()) os << " - non-extensible\n";
459 if (is_observed()) os << " - observed\n"; 459 if (is_observed()) os << " - observed\n";
460 if (is_prototype_map()) { 460 if (is_prototype_map()) {
461 os << " - prototype_map\n"; 461 os << " - prototype_map\n";
462 os << " - prototype info: " << Brief(prototype_info()); 462 os << " - prototype info: " << Brief(prototype_info());
463 } else { 463 } else {
464 os << " - back pointer: " << Brief(GetBackPointer()); 464 os << " - back pointer: " << Brief(GetBackPointer());
465 } 465 }
466 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "") 466 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "")
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
1275 } 1275 }
1276 } 1276 }
1277 1277
1278 1278
1279 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1279 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1280 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1280 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1281 } 1281 }
1282 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1282 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1283 } // namespace internal 1283 } // namespace internal
1284 } // namespace v8 1284 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/promise.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698