| Index: src/compiler/effect-control-linearizer.cc
|
| diff --git a/src/compiler/effect-control-linearizer.cc b/src/compiler/effect-control-linearizer.cc
|
| index 2207d8161e2ac89fd0375f218ca7ac008500a9fd..716723b8a06d47dd03e66109c3dc5d33fd9bc345 100644
|
| --- a/src/compiler/effect-control-linearizer.cc
|
| +++ b/src/compiler/effect-control-linearizer.cc
|
| @@ -351,8 +351,8 @@ bool EffectControlLinearizer::TryWireInStateEffect(Node* node, Node** effect,
|
| Node** control) {
|
| ValueEffectControl state(nullptr, nullptr, nullptr);
|
| switch (node->opcode()) {
|
| - case IrOpcode::kGuard:
|
| - state = LowerGuard(node, *effect, *control);
|
| + case IrOpcode::kTypeGuard:
|
| + state = LowerTypeGuard(node, *effect, *control);
|
| break;
|
| case IrOpcode::kChangeBitToTagged:
|
| state = LowerChangeBitToTagged(node, *effect, *control);
|
| @@ -414,8 +414,9 @@ bool EffectControlLinearizer::TryWireInStateEffect(Node* node, Node** effect,
|
| return true;
|
| }
|
|
|
| -EffectControlLinearizer::ValueEffectControl EffectControlLinearizer::LowerGuard(
|
| - Node* node, Node* effect, Node* control) {
|
| +EffectControlLinearizer::ValueEffectControl
|
| +EffectControlLinearizer::LowerTypeGuard(Node* node, Node* effect,
|
| + Node* control) {
|
| Node* value = node->InputAt(0);
|
| return ValueEffectControl(value, effect, control);
|
| }
|
|
|