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

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

Issue 1858773004: Revert of Correctly annotate eval origin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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/runtime/runtime-compiler.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 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after
1133 os << "\n - name: " << Brief(name()); 1133 os << "\n - name: " << Brief(name());
1134 os << "\n - line_offset: " << line_offset(); 1134 os << "\n - line_offset: " << line_offset();
1135 os << "\n - column_offset: " << column_offset(); 1135 os << "\n - column_offset: " << column_offset();
1136 os << "\n - type: " << type(); 1136 os << "\n - type: " << type();
1137 os << "\n - id: " << id(); 1137 os << "\n - id: " << id();
1138 os << "\n - context data: " << Brief(context_data()); 1138 os << "\n - context data: " << Brief(context_data());
1139 os << "\n - wrapper: " << Brief(wrapper()); 1139 os << "\n - wrapper: " << Brief(wrapper());
1140 os << "\n - compilation type: " << compilation_type(); 1140 os << "\n - compilation type: " << compilation_type();
1141 os << "\n - line ends: " << Brief(line_ends()); 1141 os << "\n - line ends: " << Brief(line_ends());
1142 os << "\n - eval from shared: " << Brief(eval_from_shared()); 1142 os << "\n - eval from shared: " << Brief(eval_from_shared());
1143 os << "\n - eval from position: " << eval_from_position(); 1143 os << "\n - eval from instructions offset: "
1144 << eval_from_instructions_offset();
1144 os << "\n - shared function infos: " << Brief(shared_function_infos()); 1145 os << "\n - shared function infos: " << Brief(shared_function_infos());
1145 os << "\n"; 1146 os << "\n";
1146 } 1147 }
1147 1148
1148 1149
1149 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT 1150 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT
1150 HeapObject::PrintHeader(os, "DebugInfo"); 1151 HeapObject::PrintHeader(os, "DebugInfo");
1151 os << "\n - shared: " << Brief(shared()); 1152 os << "\n - shared: " << Brief(shared());
1152 os << "\n - code: " << Brief(abstract_code()); 1153 os << "\n - code: " << Brief(abstract_code());
1153 os << "\n - break_points: "; 1154 os << "\n - break_points: ";
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1336 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1336 Object* transitions = map()->raw_transitions(); 1337 Object* transitions = map()->raw_transitions();
1337 int num_transitions = TransitionArray::NumberOfTransitions(transitions); 1338 int num_transitions = TransitionArray::NumberOfTransitions(transitions);
1338 if (num_transitions == 0) return; 1339 if (num_transitions == 0) return;
1339 os << "\n - transitions"; 1340 os << "\n - transitions";
1340 TransitionArray::PrintTransitions(os, transitions, false); 1341 TransitionArray::PrintTransitions(os, transitions, false);
1341 } 1342 }
1342 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1343 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1343 } // namespace internal 1344 } // namespace internal
1344 } // namespace v8 1345 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/runtime/runtime-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698