Index: test/cctest/test-platform-tls.cc |
=================================================================== |
--- test/cctest/test-platform-tls.cc (revision 15486) |
+++ test/cctest/test-platform-tls.cc (working copy) |
@@ -43,6 +43,7 @@ |
return reinterpret_cast<void*>(static_cast<intptr_t>(num + 1)); |
} |
+ |
static void DoTest() { |
for (int i = 0; i < kValueCount; i++) { |
CHECK(!Thread::HasThreadLocal(keys[i])); |
@@ -80,6 +81,7 @@ |
} |
}; |
+ |
TEST(FastTLS) { |
for (int i = 0; i < kValueCount; i++) { |
keys[i] = Thread::CreateThreadLocalKey(); |