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

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

Issue 1358423002: [es6] Introduce spec compliant IsConstructor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix stupid fuzzer failure (constructor bit set on sloppy/strict arguments). Fix MIPS/MIPS64 typos, … Created 5 years, 2 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/parser.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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 os << " - elements kind: " << ElementsKindToString(elements_kind()) << "\n"; 450 os << " - elements kind: " << ElementsKindToString(elements_kind()) << "\n";
451 os << " - unused property fields: " << unused_property_fields() << "\n"; 451 os << " - unused property fields: " << unused_property_fields() << "\n";
452 if (is_deprecated()) os << " - deprecated_map\n"; 452 if (is_deprecated()) os << " - deprecated_map\n";
453 if (is_stable()) os << " - stable_map\n"; 453 if (is_stable()) os << " - stable_map\n";
454 if (is_dictionary_map()) os << " - dictionary_map\n"; 454 if (is_dictionary_map()) os << " - dictionary_map\n";
455 if (is_hidden_prototype()) os << " - hidden_prototype\n"; 455 if (is_hidden_prototype()) os << " - hidden_prototype\n";
456 if (has_named_interceptor()) os << " - named_interceptor\n"; 456 if (has_named_interceptor()) os << " - named_interceptor\n";
457 if (has_indexed_interceptor()) os << " - indexed_interceptor\n"; 457 if (has_indexed_interceptor()) os << " - indexed_interceptor\n";
458 if (is_undetectable()) os << " - undetectable\n"; 458 if (is_undetectable()) os << " - undetectable\n";
459 if (is_callable()) os << " - callable\n"; 459 if (is_callable()) os << " - callable\n";
460 if (is_constructor()) os << " - constructor\n";
460 if (is_access_check_needed()) os << " - access_check_needed\n"; 461 if (is_access_check_needed()) os << " - access_check_needed\n";
461 if (!is_extensible()) os << " - non-extensible\n"; 462 if (!is_extensible()) os << " - non-extensible\n";
462 if (is_observed()) os << " - observed\n"; 463 if (is_observed()) os << " - observed\n";
463 if (is_prototype_map()) { 464 if (is_prototype_map()) {
464 os << " - prototype_map\n"; 465 os << " - prototype_map\n";
465 os << " - prototype info: " << Brief(prototype_info()); 466 os << " - prototype info: " << Brief(prototype_info());
466 } else { 467 } else {
467 os << " - back pointer: " << Brief(GetBackPointer()); 468 os << " - back pointer: " << Brief(GetBackPointer());
468 } 469 }
469 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "") 470 os << "\n - instance descriptors " << (owns_descriptors() ? "(own) " : "")
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 } 1288 }
1288 } 1289 }
1289 1290
1290 1291
1291 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1292 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1292 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1293 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1293 } 1294 }
1294 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1295 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1295 } // namespace internal 1296 } // namespace internal
1296 } // namespace v8 1297 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698