Fix build for disassembler=on and objectprint=off.

R=jkummerow@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10830088

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12235 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
mstarzinger@chromium.org 2012-07-31 09:53:39 +00:00
parent d884792dea
commit bf0322a861

View File

@ -8564,10 +8564,12 @@ void Code::Disassemble(const char* name, FILE* out) {
} }
PrintF(out, "\n"); PrintF(out, "\n");
} }
#ifdef OBJECT_PRINT
if (!type_feedback_info()->IsUndefined()) { if (!type_feedback_info()->IsUndefined()) {
TypeFeedbackInfo::cast(type_feedback_info())->TypeFeedbackInfoPrint(out); TypeFeedbackInfo::cast(type_feedback_info())->TypeFeedbackInfoPrint(out);
PrintF(out, "\n"); PrintF(out, "\n");
} }
#endif
} }
PrintF("RelocInfo (size = %d)\n", relocation_size()); PrintF("RelocInfo (size = %d)\n", relocation_size());