Chromium Code Reviews| Index: src/compiler/common-operator.cc |
| diff --git a/src/compiler/common-operator.cc b/src/compiler/common-operator.cc |
| index ca22bcbcf037d92ebdd1bef38b85c86c300eebcf..6917cafdaa6c7121ae587787cbf1abf01f62ff44 100644 |
| --- a/src/compiler/common-operator.cc |
| +++ b/src/compiler/common-operator.cc |
| @@ -678,21 +678,19 @@ const Operator* CommonOperatorBuilder::EffectSet(int arguments) { |
| } |
| -const Operator* CommonOperatorBuilder::ValueEffect(int arguments) { |
| - DCHECK(arguments > 0); // Disallow empty value effects. |
| - return new (zone()) Operator( // -- |
| - IrOpcode::kValueEffect, Operator::kPure, // opcode |
| - "ValueEffect", // name |
| - arguments, 0, 0, 0, 1, 0); // counts |
| +const Operator* CommonOperatorBuilder::BeginRegion() { |
|
Benedikt Meurer
2015/10/13 19:12:09
Nit: Move to the CACHED_OP_LIST above.
Jarin
2015/10/14 06:37:20
Done.
|
| + return new (zone()) Operator( // -- |
| + IrOpcode::kBeginRegion, Operator::kNoThrow, // opcode |
| + "BeginRegion", // name |
| + 0, 1, 0, 0, 1, 0); // counts |
| } |
| -const Operator* CommonOperatorBuilder::Finish(int arguments) { |
| - DCHECK(arguments > 0); // Disallow empty finishes. |
| - return new (zone()) Operator( // -- |
| - IrOpcode::kFinish, Operator::kPure, // opcode |
| - "Finish", // name |
| - 1, arguments, 0, 1, 0, 0); // counts |
| +const Operator* CommonOperatorBuilder::FinishRegion() { |
|
Benedikt Meurer
2015/10/13 19:12:09
Nit: Move to the CACHED_OP_LIST above.
Jarin
2015/10/14 06:37:20
Done.
|
| + return new (zone()) Operator( // -- |
| + IrOpcode::kFinishRegion, Operator::kNoThrow, // opcode |
| + "FinishRegion", // name |
| + 1, 1, 0, 1, 1, 0); // counts |
| } |