Chromium Code Reviews| Index: src/compiler/common-operator.cc |
| diff --git a/src/compiler/common-operator.cc b/src/compiler/common-operator.cc |
| index e7d712a99016a55dee5fad4efba8ba9cdaed368d..7120729b11c7acccc3e019d0271f2cb8c7b8090a 100644 |
| --- a/src/compiler/common-operator.cc |
| +++ b/src/compiler/common-operator.cc |
| @@ -155,6 +155,12 @@ const Operator* CommonOperatorBuilder::Loop(int controls) { |
| } |
| +const Operator* CommonOperatorBuilder::Terminate(int effects) { |
|
Michael Starzinger
2014/10/22 17:07:26
nit: Can we drop the "effects" argument?
|
| + return new (zone()) ControlOperator( |
| + IrOpcode::kTerminate, Operator::kNoProperties, 0, 0, 1, "Terminate"); |
| +} |
| + |
| + |
| const Operator* CommonOperatorBuilder::Parameter(int index) { |
| return new (zone()) Operator1<int>(IrOpcode::kParameter, Operator::kPure, 1, |
| 1, "Parameter", index); |