| OLD | NEW |
| 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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 959 #endif | 959 #endif |
| 960 } | 960 } |
| 961 | 961 |
| 962 | 962 |
| 963 void Foreign::ForeignPrint(std::ostream& os) { // NOLINT | 963 void Foreign::ForeignPrint(std::ostream& os) { // NOLINT |
| 964 os << "foreign address : " << foreign_address(); | 964 os << "foreign address : " << foreign_address(); |
| 965 os << "\n"; | 965 os << "\n"; |
| 966 } | 966 } |
| 967 | 967 |
| 968 | 968 |
| 969 void ExecutableAccessorInfo::ExecutableAccessorInfoPrint( | 969 void AccessorInfo::AccessorInfoPrint(std::ostream& os) { // NOLINT |
| 970 std::ostream& os) { // NOLINT | 970 HeapObject::PrintHeader(os, "AccessorInfo"); |
| 971 HeapObject::PrintHeader(os, "ExecutableAccessorInfo"); | |
| 972 os << "\n - name: " << Brief(name()); | 971 os << "\n - name: " << Brief(name()); |
| 973 os << "\n - flag: " << flag(); | 972 os << "\n - flag: " << flag(); |
| 974 os << "\n - getter: " << Brief(getter()); | 973 os << "\n - getter: " << Brief(getter()); |
| 975 os << "\n - setter: " << Brief(setter()); | 974 os << "\n - setter: " << Brief(setter()); |
| 976 os << "\n - data: " << Brief(data()); | 975 os << "\n - data: " << Brief(data()); |
| 977 os << "\n"; | 976 os << "\n"; |
| 978 } | 977 } |
| 979 | 978 |
| 980 | 979 |
| 981 void Box::BoxPrint(std::ostream& os) { // NOLINT | 980 void Box::BoxPrint(std::ostream& os) { // NOLINT |
| (...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1322 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT | 1321 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT |
| 1323 Object* transitions = map()->raw_transitions(); | 1322 Object* transitions = map()->raw_transitions(); |
| 1324 int num_transitions = TransitionArray::NumberOfTransitions(transitions); | 1323 int num_transitions = TransitionArray::NumberOfTransitions(transitions); |
| 1325 if (num_transitions == 0) return; | 1324 if (num_transitions == 0) return; |
| 1326 os << "\n - transitions"; | 1325 os << "\n - transitions"; |
| 1327 TransitionArray::PrintTransitions(os, transitions, false); | 1326 TransitionArray::PrintTransitions(os, transitions, false); |
| 1328 } | 1327 } |
| 1329 #endif // defined(DEBUG) || defined(OBJECT_PRINT) | 1328 #endif // defined(DEBUG) || defined(OBJECT_PRINT) |
| 1330 } // namespace internal | 1329 } // namespace internal |
| 1331 } // namespace v8 | 1330 } // namespace v8 |
| OLD | NEW |