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

Unified Diff: src/objects-printer.cc

Issue 1371893002: objects-inl.h: Remove ACCESSORS_TO_SMI macro (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: undo last_script_id storage change Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects-inl.h ('k') | src/parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects-printer.cc
diff --git a/src/objects-printer.cc b/src/objects-printer.cc
index a02297558d8fa6a13c77099e9400f8b520cd1c8b..656803765f0955f63e37126682cf1d7906b3e355 100644
--- a/src/objects-printer.cc
+++ b/src/objects-printer.cc
@@ -937,7 +937,7 @@ void ExecutableAccessorInfo::ExecutableAccessorInfoPrint(
std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "ExecutableAccessorInfo");
os << "\n - name: " << Brief(name());
- os << "\n - flag: " << Brief(flag());
+ os << "\n - flag: " << flag();
os << "\n - getter: " << Brief(getter());
os << "\n - setter: " << Brief(setter());
os << "\n - data: " << Brief(data());
@@ -1089,17 +1089,17 @@ void Script::ScriptPrint(std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "Script");
os << "\n - source: " << Brief(source());
os << "\n - name: " << Brief(name());
- os << "\n - line_offset: " << Brief(line_offset());
- os << "\n - column_offset: " << Brief(column_offset());
- os << "\n - type: " << Brief(type());
- os << "\n - id: " << Brief(id());
+ os << "\n - line_offset: " << line_offset();
+ os << "\n - column_offset: " << column_offset();
+ os << "\n - type: " << type();
+ os << "\n - id: " << id();
os << "\n - context data: " << Brief(context_data());
os << "\n - wrapper: " << Brief(wrapper());
os << "\n - compilation type: " << compilation_type();
os << "\n - line ends: " << Brief(line_ends());
os << "\n - eval from shared: " << Brief(eval_from_shared());
os << "\n - eval from instructions offset: "
- << Brief(eval_from_instructions_offset());
+ << eval_from_instructions_offset();
os << "\n - shared function infos: " << Brief(shared_function_infos());
os << "\n";
}
@@ -1116,9 +1116,9 @@ void DebugInfo::DebugInfoPrint(std::ostream& os) { // NOLINT
void BreakPointInfo::BreakPointInfoPrint(std::ostream& os) { // NOLINT
HeapObject::PrintHeader(os, "BreakPointInfo");
- os << "\n - code_position: " << code_position()->value();
- os << "\n - source_position: " << source_position()->value();
- os << "\n - statement_position: " << statement_position()->value();
+ os << "\n - code_position: " << code_position();
+ os << "\n - source_position: " << source_position();
+ os << "\n - statement_position: " << statement_position();
os << "\n - break_point_objects: " << Brief(break_point_objects());
os << "\n";
}
« no previous file with comments | « src/objects-inl.h ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698