Index: test/cctest/compiler/test-run-intrinsics.cc |
diff --git a/test/cctest/compiler/test-run-intrinsics.cc b/test/cctest/compiler/test-run-intrinsics.cc |
index 6e9ebf2282bd1b386a09521045ec97ef6f76d8b0..6aa5f391adeb6e392153148a58071df71a183747 100644 |
--- a/test/cctest/compiler/test-run-intrinsics.cc |
+++ b/test/cctest/compiler/test-run-intrinsics.cc |
@@ -34,31 +34,6 @@ TEST(ClassOf) { |
} |
-#define COUNTER_NAME "hurz" |
- |
-static int* LookupCounter(const char* name) { |
- static int counter = 1234; |
- return strcmp(name, COUNTER_NAME) == 0 ? &counter : nullptr; |
-} |
- |
- |
-TEST(IncrementStatsCounter) { |
- FLAG_native_code_counters = true; |
- reinterpret_cast<v8::Isolate*>(CcTest::InitIsolateOnce()) |
- ->SetCounterFunction(LookupCounter); |
- FunctionTester T( |
- "(function() { %_IncrementStatsCounter('" COUNTER_NAME "'); })", flags); |
- StatsCounter counter(T.main_isolate(), COUNTER_NAME); |
- if (!counter.Enabled()) return; |
- |
- int old_value = *counter.GetInternalPointer(); |
- T.CheckCall(T.undefined()); |
- CHECK_EQ(old_value + 1, *counter.GetInternalPointer()); |
-} |
- |
-#undef COUNTER_NAME |
- |
- |
TEST(IsArray) { |
FunctionTester T("(function(a) { return %_IsArray(a); })", flags); |