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. | 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 "src/v8.h" | |
9 #include "test/cctest/cctest.h" | |
10 | |
11 #include "src/compiler/instruction.h" | 8 #include "src/compiler/instruction.h" |
12 #include "src/compiler/instruction-codes.h" | 9 #include "src/compiler/instruction-codes.h" |
13 #include "src/compiler/jump-threading.h" | 10 #include "src/compiler/jump-threading.h" |
| 11 #include "test/cctest/cctest.h" |
14 | 12 |
15 namespace v8 { | 13 namespace v8 { |
16 namespace internal { | 14 namespace internal { |
17 namespace compiler { | 15 namespace compiler { |
18 | 16 |
19 class TestCode : public HandleAndZoneScope { | 17 class TestCode : public HandleAndZoneScope { |
20 public: | 18 public: |
21 TestCode() | 19 TestCode() |
22 : HandleAndZoneScope(), | 20 : HandleAndZoneScope(), |
23 blocks_(main_zone()), | 21 blocks_(main_zone()), |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 for (int k = 4; k < 5; k++) assembly[k]--; | 760 for (int k = 4; k < 5; k++) assembly[k]--; |
763 } | 761 } |
764 CheckAssemblyOrder(code, 5, assembly); | 762 CheckAssemblyOrder(code, 5, assembly); |
765 } | 763 } |
766 } | 764 } |
767 } | 765 } |
768 | 766 |
769 } // namespace compiler | 767 } // namespace compiler |
770 } // namespace internal | 768 } // namespace internal |
771 } // namespace v8 | 769 } // namespace v8 |
OLD | NEW |