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

Side by Side Diff: test/cctest/heap/test-compaction.cc

Issue 2304553002: Include only stuff you need, part 6: Fix cctest.h. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « test/cctest/heap/test-array-buffer-tracker.cc ('k') | test/cctest/heap/test-lab.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "src/factory.h"
6 #include "src/heap/mark-compact.h"
7 #include "src/isolate.h"
8 // FIXME(mstarzinger, marja): This is weird, but required because of the missing
9 // (disallowed) include: src/factory.h -> src/objects-inl.h
10 #include "src/objects-inl.h"
11 // FIXME(mstarzinger, marja): This is weird, but required because of the missing
12 // (disallowed) include: src/type-feedback-vector.h ->
13 // src/type-feedback-vector-inl.h
14 #include "src/type-feedback-vector-inl.h"
5 #include "test/cctest/cctest.h" 15 #include "test/cctest/cctest.h"
6 #include "test/cctest/heap/heap-tester.h" 16 #include "test/cctest/heap/heap-tester.h"
7 #include "test/cctest/heap/heap-utils.h" 17 #include "test/cctest/heap/heap-utils.h"
8 18
9 namespace v8 { 19 namespace v8 {
10 namespace internal { 20 namespace internal {
11 21
12 namespace { 22 namespace {
13 23
14 void CheckInvariantsOfAbortedPage(Page* page) { 24 void CheckInvariantsOfAbortedPage(Page* page) {
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 // If store buffer entries are not properly filtered/reset for aborted 353 // If store buffer entries are not properly filtered/reset for aborted
344 // pages we have now a broken address at an object slot in old space and 354 // pages we have now a broken address at an object slot in old space and
345 // the following scavenge will crash. 355 // the following scavenge will crash.
346 heap->CollectGarbage(NEW_SPACE); 356 heap->CollectGarbage(NEW_SPACE);
347 } 357 }
348 } 358 }
349 } 359 }
350 360
351 } // namespace internal 361 } // namespace internal
352 } // namespace v8 362 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/heap/test-array-buffer-tracker.cc ('k') | test/cctest/heap/test-lab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698