Index: test/cctest/test-lockers.cc |
=================================================================== |
--- test/cctest/test-lockers.cc (revision 15346) |
+++ test/cctest/test-lockers.cc (working copy) |
@@ -207,7 +207,7 @@ |
// Run many threads all locking on the same isolate |
TEST(IsolateLockingStress) { |
-#ifdef V8_TARGET_ARCH_MIPS |
+#if V8_TARGET_ARCH_MIPS |
const int kNThreads = 50; |
#else |
const int kNThreads = 100; |
@@ -244,7 +244,7 @@ |
// Run many threads each accessing its own isolate without locking |
TEST(MultithreadedParallelIsolates) { |
-#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS |
const int kNThreads = 10; |
#else |
const int kNThreads = 50; |
@@ -282,7 +282,7 @@ |
// Run many threads with nested locks |
TEST(IsolateNestedLocking) { |
-#ifdef V8_TARGET_ARCH_MIPS |
+#if V8_TARGET_ARCH_MIPS |
const int kNThreads = 50; |
#else |
const int kNThreads = 100; |
@@ -323,7 +323,7 @@ |
// Run parallel threads that lock and access different isolates in parallel |
TEST(SeparateIsolatesLocksNonexclusive) { |
-#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS |
const int kNThreads = 50; |
#else |
const int kNThreads = 100; |
@@ -399,7 +399,7 @@ |
// Use unlocker inside of a Locker, multiple threads. |
TEST(LockerUnlocker) { |
-#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS |
const int kNThreads = 50; |
#else |
const int kNThreads = 100; |
@@ -452,7 +452,7 @@ |
// Use Unlocker inside two Lockers. |
TEST(LockTwiceAndUnlock) { |
-#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS |
const int kNThreads = 50; |
#else |
const int kNThreads = 100; |
@@ -573,7 +573,7 @@ |
// Locker inside an Unlocker inside a Locker. |
TEST(LockUnlockLockMultithreaded) { |
-#ifdef V8_TARGET_ARCH_MIPS |
+#if V8_TARGET_ARCH_MIPS |
const int kNThreads = 50; |
#else |
const int kNThreads = 100; |
@@ -628,7 +628,7 @@ |
// Locker inside an Unlocker inside a Locker for default isolate. |
TEST(LockUnlockLockDefaultIsolateMultithreaded) { |
-#ifdef V8_TARGET_ARCH_MIPS |
+#if V8_TARGET_ARCH_MIPS |
const int kNThreads = 50; |
#else |
const int kNThreads = 100; |
@@ -699,7 +699,7 @@ |
// Test installing extensions in separate isolates concurrently. |
// http://code.google.com/p/v8/issues/detail?id=1821 |
TEST(ExtensionsRegistration) { |
-#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_MIPS) |
+#if V8_TARGET_ARCH_ARM || V8_TARGET_ARCH_MIPS |
const int kNThreads = 10; |
#else |
const int kNThreads = 40; |