summaryrefslogtreecommitdiff
path: root/deps/v8/test/unittests/logging/counters-unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/unittests/logging/counters-unittest.cc')
-rw-r--r--deps/v8/test/unittests/logging/counters-unittest.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/deps/v8/test/unittests/logging/counters-unittest.cc b/deps/v8/test/unittests/logging/counters-unittest.cc
index dd38d80ee4..67cc7df465 100644
--- a/deps/v8/test/unittests/logging/counters-unittest.cc
+++ b/deps/v8/test/unittests/logging/counters-unittest.cc
@@ -149,16 +149,11 @@ class SnapshotNativeCounterTest : public TestWithNativeContextAndCounters {
SnapshotNativeCounterTest() {}
bool SupportsNativeCounters() const {
-#ifdef V8_USE_SNAPSHOT
#ifdef V8_SNAPSHOT_NATIVE_CODE_COUNTERS
return true;
#else
return false;
#endif // V8_SNAPSHOT_NATIVE_CODE_COUNTERS
-#else
- // If we do not have a snapshot then we rely on the runtime option.
- return internal::FLAG_native_code_counters;
-#endif // V8_USE_SNAPSHOT
}
#define SC(name, caption) \