Index: src/compiler/common-operator.h |
diff --git a/src/compiler/common-operator.h b/src/compiler/common-operator.h |
index 3b581ae0cd2c023e8f733eaf265d3979efbd3021..2c5f1b66fc7dcc3d2174918c0aa8387d5954fa84 100644 |
--- a/src/compiler/common-operator.h |
+++ b/src/compiler/common-operator.h |
@@ -130,6 +130,15 @@ class CommonOperatorBuilder { |
return new (zone_) Operator1<int>(IrOpcode::kEffectPhi, Operator::kPure, 0, |
0, "EffectPhi", arguments); |
} |
+ Operator* ControlEffect() { |
+ return new (zone_) SimpleOperator(IrOpcode::kControlEffect, Operator::kPure, |
+ 0, 0, "ControlEffect"); |
+ } |
+ Operator* Finish(int arguments) { |
+ DCHECK(arguments > 0); // Disallow empty finishes. |
+ return new (zone_) Operator1<int>(IrOpcode::kFinish, Operator::kPure, 1, 1, |
+ "Finish", arguments); |
+ } |
Operator* StateValues(int arguments) { |
return new (zone_) Operator1<int>(IrOpcode::kStateValues, Operator::kPure, |
arguments, 1, "StateValues", arguments); |