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 #include "src/compiler/graph-inl.h" | 5 #include "src/compiler/graph-inl.h" |
6 #include "src/compiler/js-graph.h" | 6 #include "src/compiler/js-graph.h" |
7 #include "src/compiler/js-typed-lowering.h" | 7 #include "src/compiler/js-typed-lowering.h" |
8 #include "src/compiler/machine-operator.h" | 8 #include "src/compiler/machine-operator.h" |
9 #include "src/compiler/node-properties-inl.h" | 9 #include "src/compiler/node-properties.h" |
10 #include "src/compiler/opcodes.h" | 10 #include "src/compiler/opcodes.h" |
| 11 #include "src/compiler/operator-properties.h" |
11 #include "src/compiler/typer.h" | 12 #include "src/compiler/typer.h" |
12 #include "test/cctest/cctest.h" | 13 #include "test/cctest/cctest.h" |
13 | 14 |
14 using namespace v8::internal; | 15 using namespace v8::internal; |
15 using namespace v8::internal::compiler; | 16 using namespace v8::internal::compiler; |
16 | 17 |
17 class JSTypedLoweringTester : public HandleAndZoneScope { | 18 class JSTypedLoweringTester : public HandleAndZoneScope { |
18 public: | 19 public: |
19 explicit JSTypedLoweringTester(int num_parameters = 0) | 20 explicit JSTypedLoweringTester(int num_parameters = 0) |
20 : isolate(main_isolate()), | 21 : isolate(main_isolate()), |
(...skipping 1255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1276 CHECK_EQ(p1, r->InputAt(0)); | 1277 CHECK_EQ(p1, r->InputAt(0)); |
1277 CHECK_EQ(p0, r->InputAt(1)); | 1278 CHECK_EQ(p0, r->InputAt(1)); |
1278 } else { | 1279 } else { |
1279 CHECK_EQ(p0, r->InputAt(0)); | 1280 CHECK_EQ(p0, r->InputAt(0)); |
1280 CHECK_EQ(p1, r->InputAt(1)); | 1281 CHECK_EQ(p1, r->InputAt(1)); |
1281 } | 1282 } |
1282 } | 1283 } |
1283 } | 1284 } |
1284 } | 1285 } |
1285 } | 1286 } |
OLD | NEW |