| 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 "test/cctest/cctest.h" | 5 #include "test/cctest/cctest.h" |
| 6 | 6 |
| 7 #include "src/base/utils/random-number-generator.h" | 7 #include "src/base/utils/random-number-generator.h" |
| 8 #include "src/codegen.h" | 8 #include "src/codegen.h" |
| 9 #include "src/compiler/graph-inl.h" | 9 #include "src/compiler/graph-inl.h" |
| 10 #include "src/compiler/js-graph.h" | 10 #include "src/compiler/js-graph.h" |
| 11 #include "src/compiler/machine-operator-reducer.h" | 11 #include "src/compiler/machine-operator-reducer.h" |
| 12 #include "src/compiler/operator-properties.h" | 12 #include "src/compiler/operator-properties.h" |
| 13 #include "src/compiler/operator-properties-inl.h" | |
| 14 #include "src/compiler/typer.h" | 13 #include "src/compiler/typer.h" |
| 15 #include "test/cctest/compiler/value-helper.h" | 14 #include "test/cctest/compiler/value-helper.h" |
| 16 | 15 |
| 17 using namespace v8::internal; | 16 using namespace v8::internal; |
| 18 using namespace v8::internal::compiler; | 17 using namespace v8::internal::compiler; |
| 19 | 18 |
| 20 template <typename T> | 19 template <typename T> |
| 21 const Operator* NewConstantOperator(CommonOperatorBuilder* common, | 20 const Operator* NewConstantOperator(CommonOperatorBuilder* common, |
| 22 volatile T value); | 21 volatile T value); |
| 23 | 22 |
| (...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 864 // TODO(titzer): test MachineOperatorReducer for Int64Mul | 863 // TODO(titzer): test MachineOperatorReducer for Int64Mul |
| 865 // TODO(titzer): test MachineOperatorReducer for Int64UMul | 864 // TODO(titzer): test MachineOperatorReducer for Int64UMul |
| 866 // TODO(titzer): test MachineOperatorReducer for Int64Div | 865 // TODO(titzer): test MachineOperatorReducer for Int64Div |
| 867 // TODO(titzer): test MachineOperatorReducer for Uint64Div | 866 // TODO(titzer): test MachineOperatorReducer for Uint64Div |
| 868 // TODO(titzer): test MachineOperatorReducer for Int64Mod | 867 // TODO(titzer): test MachineOperatorReducer for Int64Mod |
| 869 // TODO(titzer): test MachineOperatorReducer for Uint64Mod | 868 // TODO(titzer): test MachineOperatorReducer for Uint64Mod |
| 870 // TODO(titzer): test MachineOperatorReducer for Int64Neg | 869 // TODO(titzer): test MachineOperatorReducer for Int64Neg |
| 871 // TODO(titzer): test MachineOperatorReducer for ChangeInt32ToFloat64 | 870 // TODO(titzer): test MachineOperatorReducer for ChangeInt32ToFloat64 |
| 872 // TODO(titzer): test MachineOperatorReducer for ChangeFloat64ToInt32 | 871 // TODO(titzer): test MachineOperatorReducer for ChangeFloat64ToInt32 |
| 873 // TODO(titzer): test MachineOperatorReducer for Float64Compare | 872 // TODO(titzer): test MachineOperatorReducer for Float64Compare |
| OLD | NEW |