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

Unified Diff: test/cctest/test-log-ia32.cc

Issue 28182: Make test-log-ia32.cc compile even if ENABLE_LOGGING_AND_PROFILING is not def... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-log-ia32.cc
===================================================================
--- test/cctest/test-log-ia32.cc (revision 1374)
+++ test/cctest/test-log-ia32.cc (working copy)
@@ -2,6 +2,8 @@
//
// Tests of profiler-related functions from log.h
+#ifdef ENABLE_LOGGING_AND_PROFILING
+
#include <stdlib.h>
#include "v8.h"
@@ -224,3 +226,5 @@
js_trace_code->instruction_size());
CHECK_EQ(0, sample.stack[1]);
}
+
+#endif // ENABLE_LOGGING_AND_PROFILING
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698