| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |