Chromium Code Reviews| Index: src/compiler/js-graph.cc |
| diff --git a/src/compiler/js-graph.cc b/src/compiler/js-graph.cc |
| index 3f20daa3d174540aed830a7597ba2fde251e8ff3..2157572f26b5d22c184366e6b49e35f01bd0bd73 100644 |
| --- a/src/compiler/js-graph.cc |
| +++ b/src/compiler/js-graph.cc |
| @@ -92,6 +92,10 @@ Node* JSGraph::ZeroConstant() { |
| return CACHED(kZeroConstant, NumberConstant(0.0)); |
| } |
| +Node* JSGraph::MinusZeroConstant() { |
| + return CACHED(kMinusZeroConstant, |
|
Benedikt Meurer
2016/07/14 11:41:35
Remove this one.
|
| + HeapConstant(factory()->minus_zero_value())); |
| +} |
| Node* JSGraph::OneConstant() { |
| return CACHED(kOneConstant, NumberConstant(1.0)); |