Reviewers: Mikhail Naganov,

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

Please review this at http://codereview.chromium.org/28182

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     test/cctest/test-log-ia32.cc


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



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to