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 "test/cctest/cctest.h" | |
9 | |
10 #include "src/base/utils/random-number-generator.h" | 8 #include "src/base/utils/random-number-generator.h" |
11 #include "src/codegen.h" | 9 #include "src/codegen.h" |
12 #include "src/compiler/js-graph.h" | 10 #include "src/compiler/js-graph.h" |
13 #include "src/compiler/machine-operator-reducer.h" | 11 #include "src/compiler/machine-operator-reducer.h" |
14 #include "src/compiler/operator-properties.h" | 12 #include "src/compiler/operator-properties.h" |
15 #include "src/compiler/typer.h" | 13 #include "src/compiler/typer.h" |
| 14 #include "test/cctest/cctest.h" |
16 #include "test/cctest/compiler/value-helper.h" | 15 #include "test/cctest/compiler/value-helper.h" |
17 | 16 |
18 using namespace v8::internal; | 17 using namespace v8::internal; |
19 using namespace v8::internal::compiler; | 18 using namespace v8::internal::compiler; |
20 | 19 |
21 template <typename T> | 20 template <typename T> |
22 const Operator* NewConstantOperator(CommonOperatorBuilder* common, | 21 const Operator* NewConstantOperator(CommonOperatorBuilder* common, |
23 volatile T value); | 22 volatile T value); |
24 | 23 |
25 template <> | 24 template <> |
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
744 // TODO(titzer): test MachineOperatorReducer for Uint64Mod | 743 // TODO(titzer): test MachineOperatorReducer for Uint64Mod |
745 // TODO(titzer): test MachineOperatorReducer for Int64Neg | 744 // TODO(titzer): test MachineOperatorReducer for Int64Neg |
746 // TODO(titzer): test MachineOperatorReducer for ChangeInt32ToFloat64 | 745 // TODO(titzer): test MachineOperatorReducer for ChangeInt32ToFloat64 |
747 // TODO(titzer): test MachineOperatorReducer for ChangeFloat64ToInt32 | 746 // TODO(titzer): test MachineOperatorReducer for ChangeFloat64ToInt32 |
748 // TODO(titzer): test MachineOperatorReducer for Float64Compare | 747 // TODO(titzer): test MachineOperatorReducer for Float64Compare |
749 // TODO(titzer): test MachineOperatorReducer for Float64Add | 748 // TODO(titzer): test MachineOperatorReducer for Float64Add |
750 // TODO(titzer): test MachineOperatorReducer for Float64Sub | 749 // TODO(titzer): test MachineOperatorReducer for Float64Sub |
751 // TODO(titzer): test MachineOperatorReducer for Float64Mul | 750 // TODO(titzer): test MachineOperatorReducer for Float64Mul |
752 // TODO(titzer): test MachineOperatorReducer for Float64Div | 751 // TODO(titzer): test MachineOperatorReducer for Float64Div |
753 // TODO(titzer): test MachineOperatorReducer for Float64Mod | 752 // TODO(titzer): test MachineOperatorReducer for Float64Mod |
OLD | NEW |