Revision: 8625
Author: [email protected]
Date: Wed Jul 13 03:08:52 2011
Log: Clean up conditionals in tests after r8622.
[email protected]
BUG=
TEST=
Review URL: http://codereview.chromium.org/7353015
http://code.google.com/p/v8/source/detail?r=8625
Modified:
/branches/bleeding_edge/test/cctest/test-log-stack-tracer.cc
/branches/bleeding_edge/test/cctest/test-log.cc
/branches/bleeding_edge/test/cctest/test-profile-generator.cc
=======================================
--- /branches/bleeding_edge/test/cctest/test-log-stack-tracer.cc Thu Apr 7
07:42:37 2011
+++ /branches/bleeding_edge/test/cctest/test-log-stack-tracer.cc Wed Jul 13
03:08:52 2011
@@ -27,8 +27,6 @@
//
// Tests of profiler-related functions from log.h
-#ifdef ENABLE_LOGGING_AND_PROFILING
-
#include <stdlib.h>
#include "v8.h"
@@ -413,5 +411,3 @@
CompileRun("js_entry_sp_level2();");
CHECK_EQ(0, GetJsEntrySp());
}
-
-#endif // ENABLE_LOGGING_AND_PROFILING
=======================================
--- /branches/bleeding_edge/test/cctest/test-log.cc Fri Jul 1 02:35:16 2011
+++ /branches/bleeding_edge/test/cctest/test-log.cc Wed Jul 13 03:08:52 2011
@@ -2,8 +2,6 @@
//
// Tests of logging functions from log.h
-#ifdef ENABLE_LOGGING_AND_PROFILING
-
#ifdef __linux__
#include <math.h>
#include <pthread.h>
@@ -1089,5 +1087,3 @@
LOGGER->TearDown();
i::FLAG_always_compact = saved_always_compact;
}
-
-#endif // ENABLE_LOGGING_AND_PROFILING
=======================================
--- /branches/bleeding_edge/test/cctest/test-profile-generator.cc Fri Mar
18 13:35:07 2011
+++ /branches/bleeding_edge/test/cctest/test-profile-generator.cc Wed Jul
13 03:08:52 2011
@@ -2,8 +2,6 @@
//
// Tests of profiles generator and utilities.
-#ifdef ENABLE_LOGGING_AND_PROFILING
-
#include "v8.h"
#include "profile-generator-inl.h"
#include "cctest.h"
@@ -824,5 +822,3 @@
for (int i = 0; i < CpuProfilesCollection::kMaxSimultaneousProfiles; ++i)
i::DeleteArray(titles[i]);
}
-
-#endif // ENABLE_LOGGING_AND_PROFILING
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev