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

Side by Side Diff: test/cctest/compiler/test-run-bytecode-graph-builder.cc

Issue 2268513002: Cleanup: Move ParseInfo to a separate file. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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 #include <utility> 5 #include <utility>
6 6
7 #include "src/compiler.h"
7 #include "src/compiler/pipeline.h" 8 #include "src/compiler/pipeline.h"
8 #include "src/execution.h" 9 #include "src/execution.h"
9 #include "src/handles.h" 10 #include "src/handles.h"
10 #include "src/interpreter/bytecode-array-builder.h" 11 #include "src/interpreter/bytecode-array-builder.h"
11 #include "src/interpreter/interpreter.h" 12 #include "src/interpreter/interpreter.h"
12 #include "src/parsing/parser.h" 13 #include "src/parsing/parse-info.h"
13 #include "test/cctest/cctest.h" 14 #include "test/cctest/cctest.h"
14 15
15 namespace v8 { 16 namespace v8 {
16 namespace internal { 17 namespace internal {
17 namespace compiler { 18 namespace compiler {
18 19
19 #define SHARD_TEST_BY_2(x) \ 20 #define SHARD_TEST_BY_2(x) \
20 TEST(x##_0) { Test##x(0); } \ 21 TEST(x##_0) { Test##x(0); } \
21 TEST(x##_1) { Test##x(1); } 22 TEST(x##_1) { Test##x(1); }
22 #define SHARD_TEST_BY_4(x) \ 23 #define SHARD_TEST_BY_4(x) \
(...skipping 2933 matching lines...) Expand 10 before | Expand all | Expand 10 after
2956 2957
2957 BytecodeGraphTester tester(isolate, zone, script.start()); 2958 BytecodeGraphTester tester(isolate, zone, script.start());
2958 auto callable = tester.GetCallable<>(); 2959 auto callable = tester.GetCallable<>();
2959 Handle<Object> return_value = callable().ToHandleChecked(); 2960 Handle<Object> return_value = callable().ToHandleChecked();
2960 CHECK(return_value->SameValue(*snippet.return_value())); 2961 CHECK(return_value->SameValue(*snippet.return_value()));
2961 } 2962 }
2962 2963
2963 } // namespace compiler 2964 } // namespace compiler
2964 } // namespace internal 2965 } // namespace internal
2965 } // namespace v8 2966 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698