Reviewers: Jakob,
Description:
Fix build for disassembler=on and objectprint=off.
R=jkumme...@chromium.org
Please review this at https://chromiumcodereview.appspot.com/10830088/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/objects.cc
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index
014bfecbeef74eb07813a0605d7d07bd97d24763..b092d8d67c6d0b62a48dc04abb1a0132e109bafd
100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -8564,10 +8564,12 @@ void Code::Disassemble(const char* name, FILE* out)
{
}
PrintF(out, "\n");
}
+#ifdef OBJECT_PRINT
if (!type_feedback_info()->IsUndefined()) {
TypeFeedbackInfo::cast(type_feedback_info())->TypeFeedbackInfoPrint(out);
PrintF(out, "\n");
}
+#endif
}
PrintF("RelocInfo (size = %d)\n", relocation_size());
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev