OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |