From: mstarzinger@chromium.org Date: Tue, 31 Jul 2012 09:53:39 +0000 (+0000) Subject: Fix build for disassembler=on and objectprint=off. X-Git-Tag: upstream/4.7.83~16209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf0322a861cad222e4f3a77cdf94f18cba6b64fb;p=platform%2Fupstream%2Fv8.git 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 --- diff --git a/src/objects.cc b/src/objects.cc index 014bfec..b092d8d 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());