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

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

Issue 2882973002: [coverage] Block coverage with support for IfStatements (Closed)
Patch Set: Address comments Created 3 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/objects/debug-objects.h » ('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 <iomanip> 7 #include <iomanip>
8 #include <memory> 8 #include <memory>
9 9
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after
1469 1469
1470 1470
1471 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT 1471 void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT
1472 HeapObject::PrintHeader(os, "DebugInfo"); 1472 HeapObject::PrintHeader(os, "DebugInfo");
1473 os << "\n - flags: " << flags(); 1473 os << "\n - flags: " << flags();
1474 os << "\n - debugger_hints: " << debugger_hints(); 1474 os << "\n - debugger_hints: " << debugger_hints();
1475 os << "\n - shared: " << Brief(shared()); 1475 os << "\n - shared: " << Brief(shared());
1476 os << "\n - debug bytecode array: " << Brief(debug_bytecode_array()); 1476 os << "\n - debug bytecode array: " << Brief(debug_bytecode_array());
1477 os << "\n - break_points: "; 1477 os << "\n - break_points: ";
1478 break_points()->Print(os); 1478 break_points()->Print(os);
1479 os << "\n - coverage_info: " << Brief(coverage_info());
1479 } 1480 }
1480 1481
1481 1482
1482 void StackFrameInfo::StackFrameInfoPrint(std::ostream& os) { // NOLINT 1483 void StackFrameInfo::StackFrameInfoPrint(std::ostream& os) { // NOLINT
1483 HeapObject::PrintHeader(os, "StackFrame"); 1484 HeapObject::PrintHeader(os, "StackFrame");
1484 os << "\n - line_number: " << line_number(); 1485 os << "\n - line_number: " << line_number();
1485 os << "\n - column_number: " << column_number(); 1486 os << "\n - column_number: " << column_number();
1486 os << "\n - script_id: " << script_id(); 1487 os << "\n - script_id: " << script_id();
1487 os << "\n - script_name: " << Brief(script_name()); 1488 os << "\n - script_name: " << Brief(script_name());
1488 os << "\n - script_name_or_source_url: " 1489 os << "\n - script_name_or_source_url: "
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
1746 printf("Not a transition array\n"); 1747 printf("Not a transition array\n");
1747 } else { 1748 } else {
1748 reinterpret_cast<i::TransitionArray*>(object)->Print(); 1749 reinterpret_cast<i::TransitionArray*>(object)->Print();
1749 } 1750 }
1750 } 1751 }
1751 1752
1752 extern void _v8_internal_Print_StackTrace() { 1753 extern void _v8_internal_Print_StackTrace() {
1753 i::Isolate* isolate = i::Isolate::Current(); 1754 i::Isolate* isolate = i::Isolate::Current();
1754 isolate->PrintStack(stdout); 1755 isolate->PrintStack(stdout);
1755 } 1756 }
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/objects/debug-objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698