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

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

Issue 1417163004: Remove obsolete src/v8.h include from compiler cctests. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_cleanup-cctest-api-deprecation
Patch Set: Created 5 years, 1 month 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 // TODO(jochen): Remove this after the setting is turned on globally. 5 // TODO(jochen): Remove this after the setting is turned on globally.
6 #define V8_IMMINENT_DEPRECATION_WARNINGS 6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7 7
8 #include <utility> 8 #include <utility>
9 9
10 #include "src/v8.h"
11
12 #include "src/compiler/pipeline.h" 10 #include "src/compiler/pipeline.h"
13 #include "src/execution.h" 11 #include "src/execution.h"
14 #include "src/handles.h" 12 #include "src/handles.h"
15 #include "src/interpreter/bytecode-array-builder.h" 13 #include "src/interpreter/bytecode-array-builder.h"
16 #include "src/interpreter/interpreter.h" 14 #include "src/interpreter/interpreter.h"
17 #include "src/parser.h" 15 #include "src/parser.h"
18 #include "test/cctest/cctest.h" 16 #include "test/cctest/cctest.h"
19 17
20 namespace v8 { 18 namespace v8 {
21 namespace internal { 19 namespace internal {
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 snippets[i].code_snippet, kFunctionName); 253 snippets[i].code_snippet, kFunctionName);
256 254
257 BytecodeGraphTester tester(isolate, zone, script.start()); 255 BytecodeGraphTester tester(isolate, zone, script.start());
258 auto callable = tester.GetCallable<Handle<Object>, Handle<Object>>(); 256 auto callable = tester.GetCallable<Handle<Object>, Handle<Object>>();
259 Handle<Object> return_value = 257 Handle<Object> return_value =
260 callable(snippets[i].parameter(0), snippets[i].parameter(1)) 258 callable(snippets[i].parameter(0), snippets[i].parameter(1))
261 .ToHandleChecked(); 259 .ToHandleChecked();
262 CHECK(return_value->SameValue(*snippets[i].return_value())); 260 CHECK(return_value->SameValue(*snippets[i].return_value()));
263 } 261 }
264 } 262 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-representation-change.cc ('k') | test/cctest/compiler/test-run-deopt.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698