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

Unified Diff: src/objects.cc

Issue 7147014: Fix building in release mode with disassembler=on (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: modify #ifdefs instead of SConstruct Created 9 years, 6 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.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/objects.cc
diff --git a/src/objects.cc b/src/objects.cc
index 6185e2dcf049484646a37600c1f944222e18b4b9..f69e800705d602ec353df455dbe3b016d91980a9 100644
--- a/src/objects.cc
+++ b/src/objects.cc
@@ -6804,7 +6804,7 @@ Map* Code::FindFirstMap() {
#ifdef ENABLE_DISASSEMBLER
Søren Thygesen Gjesse 2011/06/16 05:50:36 This #ifdef should probably be moved down to line
Jakob Kummerow 2011/06/16 08:02:43 Good point. Done.
-#ifdef OBJECT_PRINT
+#if defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER)
void DeoptimizationInputData::DeoptimizationInputDataPrint(FILE* out) {
disasm::NameConverter converter;
@@ -6952,7 +6952,7 @@ void DeoptimizationOutputData::DeoptimizationOutputDataPrint(FILE* out) {
}
}
-#endif
+#endif // defined(OBJECT_PRINT) || defined(ENABLE_DISASSEMBLER)
// Identify kind of code.
« no previous file with comments | « src/objects.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698