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 <functional> | 5 #include <functional> |
6 | 6 |
7 #include "src/codegen.h" | 7 #include "src/codegen.h" |
| 8 #include "src/compiler/js-operator.h" |
8 #include "src/compiler/node-properties-inl.h" | 9 #include "src/compiler/node-properties-inl.h" |
9 #include "src/compiler/typer.h" | 10 #include "src/compiler/typer.h" |
10 #include "test/cctest/cctest.h" | 11 #include "test/cctest/cctest.h" |
11 #include "test/cctest/compiler/graph-builder-tester.h" | 12 #include "test/cctest/compiler/graph-builder-tester.h" |
12 #include "test/cctest/types-fuzz.h" | 13 #include "test/cctest/types-fuzz.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 | 18 |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
370 V(Modulus) | 371 V(Modulus) |
371 | 372 |
372 | 373 |
373 #define TEST_FUNC(name) \ | 374 #define TEST_FUNC(name) \ |
374 TEST(Monotonicity_##name) { \ | 375 TEST(Monotonicity_##name) { \ |
375 TyperTester t; \ | 376 TyperTester t; \ |
376 t.TestBinaryMonotonicity(t.javascript_.name()); \ | 377 t.TestBinaryMonotonicity(t.javascript_.name()); \ |
377 } | 378 } |
378 JSBINOP_LIST(TEST_FUNC) | 379 JSBINOP_LIST(TEST_FUNC) |
379 #undef TEST_FUNC | 380 #undef TEST_FUNC |
OLD | NEW |