Index: src/compiler/select-lowering.cc |
diff --git a/src/compiler/select-lowering.cc b/src/compiler/select-lowering.cc |
index 2e0f0d1a343811a82a2a2359306a5a3f63c1c5a5..ee648c6c82fafe76675ece85d879e0975e8db26a 100644 |
--- a/src/compiler/select-lowering.cc |
+++ b/src/compiler/select-lowering.cc |
@@ -8,6 +8,7 @@ |
#include "src/compiler/diamond.h" |
#include "src/compiler/graph.h" |
#include "src/compiler/node.h" |
+#include "src/compiler/node-properties.h" |
namespace v8 { |
namespace internal { |
@@ -51,7 +52,7 @@ Reduction SelectLowering::Reduce(Node* node) { |
} |
// Create a Phi hanging off the previously determined merge. |
- node->set_op(common()->Phi(p.type(), 2)); |
+ NodeProperties::ChangeOp(node, common()->Phi(p.type(), 2)); |
node->ReplaceInput(0, vthen); |
node->ReplaceInput(1, velse); |
node->ReplaceInput(2, merge); |