Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Side by Side Diff: test/cctest/heap/heap-tester.h

Issue 1753803003: [test] Remove dependent commands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Coding Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef HEAP_HEAP_TESTER_H_ 5 #ifndef HEAP_HEAP_TESTER_H_
6 #define HEAP_HEAP_TESTER_H_ 6 #define HEAP_HEAP_TESTER_H_
7 7
8 #include "src/handles.h" 8 #include "src/handles.h"
9 #include "src/heap/spaces.h" 9 #include "src/heap/spaces.h"
10 10
(...skipping 16 matching lines...) Expand all
27 V(ResetWeakHandle) \ 27 V(ResetWeakHandle) \
28 V(StressHandles) \ 28 V(StressHandles) \
29 V(TestMemoryReducerSampleJsCalls) \ 29 V(TestMemoryReducerSampleJsCalls) \
30 V(TestSizeOfObjects) \ 30 V(TestSizeOfObjects) \
31 V(Regress587004) \ 31 V(Regress587004) \
32 V(Regress589413) \ 32 V(Regress589413) \
33 V(WriteBarriersInCopyJSObject) 33 V(WriteBarriersInCopyJSObject)
34 34
35 #define HEAP_TEST(Name) \ 35 #define HEAP_TEST(Name) \
36 CcTest register_test_##Name(v8::internal::HeapTester::Test##Name, __FILE__, \ 36 CcTest register_test_##Name(v8::internal::HeapTester::Test##Name, __FILE__, \
37 #Name, NULL, true, true); \ 37 #Name, true, true); \
38 void v8::internal::HeapTester::Test##Name() 38 void v8::internal::HeapTester::Test##Name()
39 39
40 40
41 #define THREADED_HEAP_TEST(Name) \ 41 #define THREADED_HEAP_TEST(Name) \
42 RegisterThreadedTest register_##Name(v8::internal::HeapTester::Test##Name, \ 42 RegisterThreadedTest register_##Name(v8::internal::HeapTester::Test##Name, \
43 #Name); \ 43 #Name); \
44 /* */ HEAP_TEST(Name) 44 /* */ HEAP_TEST(Name)
45 45
46 46
47 namespace v8 { 47 namespace v8 {
(...skipping 11 matching lines...) Expand all
59 static Handle<Object> TestAllocateAfterFailures(); 59 static Handle<Object> TestAllocateAfterFailures();
60 60
61 /* test-api.cc */ 61 /* test-api.cc */
62 static void ResetWeakHandle(bool global_gc); 62 static void ResetWeakHandle(bool global_gc);
63 }; 63 };
64 64
65 } // namespace internal 65 } // namespace internal
66 } // namespace v8 66 } // namespace v8
67 67
68 #endif // HEAP_HEAP_TESTER_H_ 68 #endif // HEAP_HEAP_TESTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698