Index: src/compiler/common-operator.cc |
diff --git a/src/compiler/common-operator.cc b/src/compiler/common-operator.cc |
index f63c073c2c5c1aab55fa3fe903f82fdfa939cf99..0f549a7a62c201b3ba3984a8ff94e9a1b580dc42 100644 |
--- a/src/compiler/common-operator.cc |
+++ b/src/compiler/common-operator.cc |
@@ -390,10 +390,10 @@ struct CommonOperatorGlobalCache final { |
template <int kEffectInputCount> |
struct EffectPhiOperator final : public Operator { |
EffectPhiOperator() |
- : Operator( // -- |
- IrOpcode::kEffectPhi, Operator::kPure, // opcode |
- "EffectPhi", // name |
- 0, kEffectInputCount, 1, 0, 1, 0) {} // counts |
+ : Operator( // -- |
+ IrOpcode::kEffectPhi, Operator::kKontrol, // opcode |
+ "EffectPhi", // name |
+ 0, kEffectInputCount, 1, 0, 1, 0) {} // counts |
}; |
#define CACHED_EFFECT_PHI(input_count) \ |
EffectPhiOperator<input_count> kEffectPhi##input_count##Operator; |
@@ -827,10 +827,10 @@ const Operator* CommonOperatorBuilder::EffectPhi(int effect_input_count) { |
break; |
} |
// Uncached. |
- return new (zone()) Operator( // -- |
- IrOpcode::kEffectPhi, Operator::kPure, // opcode |
- "EffectPhi", // name |
- 0, effect_input_count, 1, 0, 1, 0); // counts |
+ return new (zone()) Operator( // -- |
+ IrOpcode::kEffectPhi, Operator::kKontrol, // opcode |
+ "EffectPhi", // name |
+ 0, effect_input_count, 1, 0, 1, 0); // counts |
} |
const Operator* CommonOperatorBuilder::BeginRegion( |