Chromium Code Reviews| Index: src/compiler/machine-operator-reducer.cc |
| diff --git a/src/compiler/machine-operator-reducer.cc b/src/compiler/machine-operator-reducer.cc |
| index 07d6820f069ebcf4d878269770fb6abed934784c..095a95204e3af1e36892c2b10410562fe8769d03 100644 |
| --- a/src/compiler/machine-operator-reducer.cc |
| +++ b/src/compiler/machine-operator-reducer.cc |
| @@ -399,6 +399,10 @@ Reduction MachineOperatorReducer::Reduce(Node* node) { |
| case IrOpcode::kFloat64Atanh: { |
| Float64Matcher m(node->InputAt(0)); |
| if (m.HasValue()) return ReplaceFloat64(base::ieee754::atanh(m.Value())); |
| + } |
|
mvstanton
2016/06/17 13:51:19
Missing break
|
| + case IrOpcode::kFloat64Cos: { |
| + Float64Matcher m(node->InputAt(0)); |
| + if (m.HasValue()) return ReplaceFloat64(base::ieee754::cos(m.Value())); |
| break; |
| } |
| case IrOpcode::kFloat64Exp: { |
| @@ -434,6 +438,10 @@ Reduction MachineOperatorReducer::Reduce(Node* node) { |
| case IrOpcode::kFloat64Cbrt: { |
| Float64Matcher m(node->InputAt(0)); |
| if (m.HasValue()) return ReplaceFloat64(base::ieee754::cbrt(m.Value())); |
| + } |
| + case IrOpcode::kFloat64Sin: { |
| + Float64Matcher m(node->InputAt(0)); |
| + if (m.HasValue()) return ReplaceFloat64(base::ieee754::sin(m.Value())); |
| break; |
| } |
| case IrOpcode::kChangeFloat32ToFloat64: { |