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

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

Issue 1183733006: Keep a canonical list of shared function infos. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test Created 5 years, 6 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/ppc/full-codegen-ppc.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/v8.h" 5 #include "src/v8.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/heap/objects-visiting.h" 9 #include "src/heap/objects-visiting.h"
10 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
(...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
975 os << "\n - column_offset: " << Brief(column_offset()); 975 os << "\n - column_offset: " << Brief(column_offset());
976 os << "\n - type: " << Brief(type()); 976 os << "\n - type: " << Brief(type());
977 os << "\n - id: " << Brief(id()); 977 os << "\n - id: " << Brief(id());
978 os << "\n - context data: " << Brief(context_data()); 978 os << "\n - context data: " << Brief(context_data());
979 os << "\n - wrapper: " << Brief(wrapper()); 979 os << "\n - wrapper: " << Brief(wrapper());
980 os << "\n - compilation type: " << compilation_type(); 980 os << "\n - compilation type: " << compilation_type();
981 os << "\n - line ends: " << Brief(line_ends()); 981 os << "\n - line ends: " << Brief(line_ends());
982 os << "\n - eval from shared: " << Brief(eval_from_shared()); 982 os << "\n - eval from shared: " << Brief(eval_from_shared());
983 os << "\n - eval from instructions offset: " 983 os << "\n - eval from instructions offset: "
984 << Brief(eval_from_instructions_offset()); 984 << Brief(eval_from_instructions_offset());
985 os << "\n - shared function infos: " << Brief(shared_function_infos());
985 os << "\n"; 986 os << "\n";
986 } 987 }
987 988
988 989
989 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT 990 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT
990 HeapObject::PrintHeader(os, "DebugInfo"); 991 HeapObject::PrintHeader(os, "DebugInfo");
991 os << "\n - shared: " << Brief(shared()); 992 os << "\n - shared: " << Brief(shared());
992 os << "\n - original_code: " << Brief(original_code()); 993 os << "\n - original_code: " << Brief(original_code());
993 os << "\n - code: " << Brief(code()); 994 os << "\n - code: " << Brief(code());
994 os << "\n - break_points: "; 995 os << "\n - break_points: ";
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
1170 } 1171 }
1171 } 1172 }
1172 1173
1173 1174
1174 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1175 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1175 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1176 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1176 } 1177 }
1177 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1178 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1178 } // namespace internal 1179 } // namespace internal
1179 } // namespace v8 1180 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/ppc/full-codegen-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698