| 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 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1137   os << "\n - name: " << Brief(name()); | 1137   os << "\n - name: " << Brief(name()); | 
| 1138   os << "\n - line_offset: " << line_offset(); | 1138   os << "\n - line_offset: " << line_offset(); | 
| 1139   os << "\n - column_offset: " << column_offset(); | 1139   os << "\n - column_offset: " << column_offset(); | 
| 1140   os << "\n - type: " << type(); | 1140   os << "\n - type: " << type(); | 
| 1141   os << "\n - id: " << id(); | 1141   os << "\n - id: " << id(); | 
| 1142   os << "\n - context data: " << Brief(context_data()); | 1142   os << "\n - context data: " << Brief(context_data()); | 
| 1143   os << "\n - wrapper: " << Brief(wrapper()); | 1143   os << "\n - wrapper: " << Brief(wrapper()); | 
| 1144   os << "\n - compilation type: " << compilation_type(); | 1144   os << "\n - compilation type: " << compilation_type(); | 
| 1145   os << "\n - line ends: " << Brief(line_ends()); | 1145   os << "\n - line ends: " << Brief(line_ends()); | 
| 1146   os << "\n - eval from shared: " << Brief(eval_from_shared()); | 1146   os << "\n - eval from shared: " << Brief(eval_from_shared()); | 
| 1147   os << "\n - eval from position: " << eval_from_position(); | 1147   os << "\n - eval from instructions offset: " | 
|  | 1148      << eval_from_instructions_offset(); | 
| 1148   os << "\n - shared function infos: " << Brief(shared_function_infos()); | 1149   os << "\n - shared function infos: " << Brief(shared_function_infos()); | 
| 1149   os << "\n"; | 1150   os << "\n"; | 
| 1150 } | 1151 } | 
| 1151 | 1152 | 
| 1152 | 1153 | 
| 1153 void DebugInfo::DebugInfoPrint(std::ostream& os) {  // NOLINT | 1154 void DebugInfo::DebugInfoPrint(std::ostream& os) {  // NOLINT | 
| 1154   HeapObject::PrintHeader(os, "DebugInfo"); | 1155   HeapObject::PrintHeader(os, "DebugInfo"); | 
| 1155   os << "\n - shared: " << Brief(shared()); | 1156   os << "\n - shared: " << Brief(shared()); | 
| 1156   os << "\n - code: " << Brief(abstract_code()); | 1157   os << "\n - code: " << Brief(abstract_code()); | 
| 1157   os << "\n - break_points: "; | 1158   os << "\n - break_points: "; | 
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1339 void JSObject::PrintTransitions(std::ostream& os) {  // NOLINT | 1340 void JSObject::PrintTransitions(std::ostream& os) {  // NOLINT | 
| 1340   Object* transitions = map()->raw_transitions(); | 1341   Object* transitions = map()->raw_transitions(); | 
| 1341   int num_transitions = TransitionArray::NumberOfTransitions(transitions); | 1342   int num_transitions = TransitionArray::NumberOfTransitions(transitions); | 
| 1342   if (num_transitions == 0) return; | 1343   if (num_transitions == 0) return; | 
| 1343   os << "\n - transitions"; | 1344   os << "\n - transitions"; | 
| 1344   TransitionArray::PrintTransitions(os, transitions, false); | 1345   TransitionArray::PrintTransitions(os, transitions, false); | 
| 1345 } | 1346 } | 
| 1346 #endif  // defined(DEBUG) || defined(OBJECT_PRINT) | 1347 #endif  // defined(DEBUG) || defined(OBJECT_PRINT) | 
| 1347 }  // namespace internal | 1348 }  // namespace internal | 
| 1348 }  // namespace v8 | 1349 }  // namespace v8 | 
| OLD | NEW | 
|---|