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

Unified Diff: src/ic.cc

Issue 373003004: Fix build (solve OBJECT_PRINT dependency) (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | « no previous file | src/objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/ic.cc
diff --git a/src/ic.cc b/src/ic.cc
index 1805c40865acb70f86ee60c4eb69ae58c987862a..167dc10206cda0b78d582b89f15300eccc120f3f 100644
--- a/src/ic.cc
+++ b/src/ic.cc
@@ -94,8 +94,12 @@ void IC::TraceIC(const char* type, Handle<Object> name) {
TransitionMarkFromState(state()),
TransitionMarkFromState(new_state),
modifier);
+#ifdef OBJECT_PRINT
OFStream os(stdout);
name->Print(os);
+#else
+ name->ShortPrint(stdout);
+#endif
PrintF("]\n");
}
}
« no previous file with comments | « no previous file | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698