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/js-graph.h" | 5 #include "src/compiler/js-graph.h" |
6 #include "src/compiler/js-typed-lowering.h" | 6 #include "src/compiler/js-typed-lowering.h" |
7 #include "src/compiler/machine-operator.h" | 7 #include "src/compiler/machine-operator.h" |
8 #include "src/compiler/node-properties.h" | 8 #include "src/compiler/node-properties.h" |
9 #include "src/compiler/opcodes.h" | 9 #include "src/compiler/opcodes.h" |
10 #include "src/compiler/operator-properties.h" | 10 #include "src/compiler/operator-properties.h" |
| 11 #include "src/compiler/simplified-operator.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 #ifndef TEST_WITH_STRONG | 18 #ifndef TEST_WITH_STRONG |
18 #define TEST_WITH_STRONG(Name) \ | 19 #define TEST_WITH_STRONG(Name) \ |
19 static void Test##Name(); \ | 20 static void Test##Name(); \ |
20 static void TestWithStrong##Name(LanguageMode language_mode); \ | 21 static void TestWithStrong##Name(LanguageMode language_mode); \ |
(...skipping 1230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1251 CHECK_EQ(p1, r->InputAt(0)); | 1252 CHECK_EQ(p1, r->InputAt(0)); |
1252 CHECK_EQ(p0, r->InputAt(1)); | 1253 CHECK_EQ(p0, r->InputAt(1)); |
1253 } else { | 1254 } else { |
1254 CHECK_EQ(p0, r->InputAt(0)); | 1255 CHECK_EQ(p0, r->InputAt(0)); |
1255 CHECK_EQ(p1, r->InputAt(1)); | 1256 CHECK_EQ(p1, r->InputAt(1)); |
1256 } | 1257 } |
1257 } | 1258 } |
1258 } | 1259 } |
1259 } | 1260 } |
1260 } | 1261 } |
OLD | NEW |