Commit be011678 authored by sgjesse@chromium.org's avatar sgjesse@chromium.org

Make test-log-ia32.cc compile even if ENABLE_LOGGING_AND_PROFILING is not defined.

Review URL: http://codereview.chromium.org/28182

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@1377 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7a83e2c0
......@@ -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 @@ TEST(PureJSStackTrace) {
js_trace_code->instruction_size());
CHECK_EQ(0, sample.stack[1]);
}
#endif // ENABLE_LOGGING_AND_PROFILING
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment