OLD | NEW |
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 <utility> | 5 #include <utility> |
6 | 6 |
7 #include "src/compilation-info.h" | 7 #include "src/compilation-info.h" |
8 #include "src/compiler/pipeline.h" | 8 #include "src/compiler/pipeline.h" |
9 #include "src/execution.h" | 9 #include "src/execution.h" |
10 #include "src/handles.h" | 10 #include "src/handles.h" |
11 #include "src/interpreter/bytecode-array-builder.h" | 11 #include "src/interpreter/bytecode-array-builder.h" |
12 #include "src/interpreter/interpreter.h" | 12 #include "src/interpreter/interpreter.h" |
| 13 #include "src/objects-inl.h" |
13 #include "src/parsing/parse-info.h" | 14 #include "src/parsing/parse-info.h" |
14 #include "test/cctest/cctest.h" | 15 #include "test/cctest/cctest.h" |
15 | 16 |
16 namespace v8 { | 17 namespace v8 { |
17 namespace internal { | 18 namespace internal { |
18 namespace compiler { | 19 namespace compiler { |
19 | 20 |
20 #define SHARD_TEST_BY_2(x) \ | 21 #define SHARD_TEST_BY_2(x) \ |
21 TEST(x##_0) { Test##x(0); } \ | 22 TEST(x##_0) { Test##x(0); } \ |
22 TEST(x##_1) { Test##x(1); } | 23 TEST(x##_1) { Test##x(1); } |
(...skipping 3028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3051 Handle<Object> return_value = callable().ToHandleChecked(); | 3052 Handle<Object> return_value = callable().ToHandleChecked(); |
3052 | 3053 |
3053 v8::Debug::SetDebugEventListener(CcTest::isolate(), nullptr); | 3054 v8::Debug::SetDebugEventListener(CcTest::isolate(), nullptr); |
3054 CHECK(return_value.is_identical_to(snippet.return_value())); | 3055 CHECK(return_value.is_identical_to(snippet.return_value())); |
3055 CHECK_EQ(2, debug_break_count); | 3056 CHECK_EQ(2, debug_break_count); |
3056 } | 3057 } |
3057 | 3058 |
3058 } // namespace compiler | 3059 } // namespace compiler |
3059 } // namespace internal | 3060 } // namespace internal |
3060 } // namespace v8 | 3061 } // namespace v8 |
OLD | NEW |