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

Side by Side Diff: test/cctest/compiler/test-run-stubs.cc

Issue 1408283006: Remove deprecated API usage from compiler cctests. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@local_turbofan-arguments-inline-3
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
« no previous file with comments | « test/cctest/compiler/test-run-stackcheck.cc ('k') | test/cctest/compiler/test-run-variables.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 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.
6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7
5 #include "src/bootstrapper.h" 8 #include "src/bootstrapper.h"
6 #include "src/code-stubs.h" 9 #include "src/code-stubs.h"
7 #include "src/compiler/common-operator.h" 10 #include "src/compiler/common-operator.h"
8 #include "src/compiler/graph.h" 11 #include "src/compiler/graph.h"
9 #include "src/compiler/js-graph.h" 12 #include "src/compiler/js-graph.h"
10 #include "src/compiler/js-operator.h" 13 #include "src/compiler/js-operator.h"
11 #include "src/compiler/linkage.h" 14 #include "src/compiler/linkage.h"
12 #include "src/compiler/machine-operator.h" 15 #include "src/compiler/machine-operator.h"
13 #include "src/compiler/pipeline.h" 16 #include "src/compiler/pipeline.h"
14 #include "src/parser.h" 17 #include "src/parser.h"
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 graph.SetStart(start); 136 graph.SetStart(start);
134 graph.SetEnd(end); 137 graph.SetEnd(end);
135 FunctionTester ft(&graph); 138 FunctionTester ft(&graph);
136 139
137 // Actuall call through to the stub, verifying its result. 140 // Actuall call through to the stub, verifying its result.
138 Handle<String> leftArg = ft.Val("links"); 141 Handle<String> leftArg = ft.Val("links");
139 Handle<String> rightArg = ft.Val("rechts"); 142 Handle<String> rightArg = ft.Val("rechts");
140 Handle<Object> result = ft.Call(leftArg, rightArg).ToHandleChecked(); 143 Handle<Object> result = ft.Call(leftArg, rightArg).ToHandleChecked();
141 CHECK(String::Equals(ft.Val("linksrechts"), Handle<String>::cast(result))); 144 CHECK(String::Equals(ft.Val("linksrechts"), Handle<String>::cast(result)));
142 } 145 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-run-stackcheck.cc ('k') | test/cctest/compiler/test-run-variables.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698