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

Side by Side Diff: test/cctest/compiler/test-loop-assignment-analysis.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
OLDNEW
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 // TODO(jochen): Remove this after the setting is turned on globally.
6 #define V8_IMMINENT_DEPRECATION_WARNINGS
7
5 #include "src/compiler/ast-loop-assignment-analyzer.h" 8 #include "src/compiler/ast-loop-assignment-analyzer.h"
6 #include "src/parser.h" 9 #include "src/parser.h"
7 #include "src/rewriter.h" 10 #include "src/rewriter.h"
8 #include "src/scopes.h" 11 #include "src/scopes.h"
9 #include "test/cctest/cctest.h" 12 #include "test/cctest/cctest.h"
10 13
11 using namespace v8::internal; 14 using namespace v8::internal;
12 using namespace v8::internal::compiler; 15 using namespace v8::internal::compiler;
13 16
14 namespace { 17 namespace {
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 " while (1) z++;" 289 " while (1) z++;"
287 " }" 290 " }"
288 "}" 291 "}"
289 "w;"); 292 "w;");
290 293
291 f.CheckLoopAssignedCount(1, "x"); 294 f.CheckLoopAssignedCount(1, "x");
292 f.CheckLoopAssignedCount(3, "y"); 295 f.CheckLoopAssignedCount(3, "y");
293 f.CheckLoopAssignedCount(5, "z"); 296 f.CheckLoopAssignedCount(5, "z");
294 f.CheckLoopAssignedCount(0, "w"); 297 f.CheckLoopAssignedCount(0, "w");
295 } 298 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-loop-analysis.cc ('k') | test/cctest/compiler/test-machine-operator-reducer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698