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

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: ia32, arm and arm64 ports. Misc cleanups. 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
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 801 matching lines...) Expand 10 before | Expand all | Expand 10 after
1268 } 1268 }
1269 } 1269 }
1270 1270
1271 1271
1272 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1272 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1273 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1273 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1274 } 1274 }
1275 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1275 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1276 } // namespace internal 1276 } // namespace internal
1277 } // namespace v8 1277 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698