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

Side by Side Diff: test/cctest/compiler/test-gap-resolver.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/gap-resolver.h" 8 #include "src/compiler/gap-resolver.h"
6 9
7 #include "src/base/utils/random-number-generator.h" 10 #include "src/base/utils/random-number-generator.h"
8 #include "test/cctest/cctest.h" 11 #include "test/cctest/cctest.h"
9 12
10 using namespace v8::internal; 13 using namespace v8::internal;
11 using namespace v8::internal::compiler; 14 using namespace v8::internal::compiler;
12 15
13 // The state of our move interpreter is the mapping of operands to values. Note 16 // The state of our move interpreter is the mapping of operands to values. Note
14 // that the actual values don't really matter, all we care about is equality. 17 // that the actual values don't really matter, all we care about is equality.
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 mi1.AssembleParallelMove(pm); 243 mi1.AssembleParallelMove(pm);
241 244
242 MoveInterpreter mi2(pmc.main_zone()); 245 MoveInterpreter mi2(pmc.main_zone());
243 GapResolver resolver(&mi2); 246 GapResolver resolver(&mi2);
244 resolver.Resolve(pm); 247 resolver.Resolve(pm);
245 248
246 CHECK(mi1.state() == mi2.state()); 249 CHECK(mi1.state() == mi2.state());
247 } 250 }
248 } 251 }
249 } 252 }
OLDNEW
« no previous file with comments | « test/cctest/compiler/test-changes-lowering.cc ('k') | test/cctest/compiler/test-graph-visualizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698