| Index: src/compiler/operator-properties-inl.h
|
| diff --git a/src/compiler/operator-properties-inl.h b/src/compiler/operator-properties-inl.h
|
| index 51d43d4b79634bb6b4af48952425765802830828..1c9ef009f32c2aeff6b4090d29ddf0b82c970dc3 100644
|
| --- a/src/compiler/operator-properties-inl.h
|
| +++ b/src/compiler/operator-properties-inl.h
|
| @@ -116,7 +116,8 @@ inline int OperatorProperties::GetControlInputCount(const Operator* op) {
|
| switch (op->opcode()) {
|
| case IrOpcode::kPhi:
|
| case IrOpcode::kEffectPhi:
|
| - case IrOpcode::kControlEffect:
|
| + case IrOpcode::kLoad:
|
| + case IrOpcode::kLoadElement:
|
| return 1;
|
| #define OPCODE_CASE(x) case IrOpcode::k##x:
|
| CONTROL_OP_LIST(OPCODE_CASE)
|
| @@ -149,7 +150,6 @@ inline bool OperatorProperties::HasValueOutput(const Operator* op) {
|
|
|
| inline bool OperatorProperties::HasEffectOutput(const Operator* op) {
|
| return op->opcode() == IrOpcode::kStart ||
|
| - op->opcode() == IrOpcode::kControlEffect ||
|
| op->opcode() == IrOpcode::kValueEffect ||
|
| (op->opcode() != IrOpcode::kFinish && GetEffectInputCount(op) > 0);
|
| }
|
|
|