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

Side by Side Diff: test/cctest/compiler/test-js-constant-cache.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/compiler/function-tester.cc ('k') | test/cctest/compiler/test-js-typed-lowering.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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/assembler.h" 5 #include "src/assembler.h"
6 #include "src/compiler/js-graph.h" 6 #include "src/compiler/js-graph.h"
7 #include "src/compiler/node-properties.h" 7 #include "src/compiler/node-properties.h"
8 #include "src/factory.h"
9 // FIXME(mstarzinger, marja): This is weird, but required because of the missing
10 // (disallowed) include: src/factory.h -> src/objects-inl.h
11 #include "src/objects-inl.h"
12 // FIXME(mstarzinger, marja): This is weird, but required because of the missing
13 // (disallowed) include: src/type-feedback-vector.h ->
14 // src/type-feedback-vector-inl.h
15 #include "src/type-feedback-vector-inl.h"
8 #include "test/cctest/cctest.h" 16 #include "test/cctest/cctest.h"
9 #include "test/cctest/compiler/value-helper.h" 17 #include "test/cctest/compiler/value-helper.h"
10 18
11 namespace v8 { 19 namespace v8 {
12 namespace internal { 20 namespace internal {
13 namespace compiler { 21 namespace compiler {
14 22
15 class JSCacheTesterHelper { 23 class JSCacheTesterHelper {
16 protected: 24 protected:
17 JSCacheTesterHelper(Isolate* isolate, Zone* zone) 25 JSCacheTesterHelper(Isolate* isolate, Zone* zone)
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
390 T.GetCachedNodes(&nodes); 398 T.GetCachedNodes(&nodes);
391 399
392 for (size_t i = 0; i < arraysize(constants); i++) { 400 for (size_t i = 0; i < arraysize(constants); i++) {
393 CHECK(Contains(&nodes, constants[i])); 401 CHECK(Contains(&nodes, constants[i]));
394 } 402 }
395 } 403 }
396 404
397 } // namespace compiler 405 } // namespace compiler
398 } // namespace internal 406 } // namespace internal
399 } // namespace v8 407 } // namespace v8
OLDNEW
« no previous file with comments | « test/cctest/compiler/function-tester.cc ('k') | test/cctest/compiler/test-js-typed-lowering.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698