Author: [email protected]
Date: Thu Feb 26 05:45:11 2009
New Revision: 1377
Modified:
branches/bleeding_edge/test/cctest/test-log-ia32.cc
Log:
Make test-log-ia32.cc compile even if ENABLE_LOGGING_AND_PROFILING is not
defined.
Review URL: http://codereview.chromium.org/28182
Modified: branches/bleeding_edge/test/cctest/test-log-ia32.cc
==============================================================================
--- branches/bleeding_edge/test/cctest/test-log-ia32.cc (original)
+++ branches/bleeding_edge/test/cctest/test-log-ia32.cc Thu Feb 26 05:45:11
2009
@@ -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
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---