Index: src/compiler/effect-control-linearizer.cc |
diff --git a/src/compiler/effect-control-linearizer.cc b/src/compiler/effect-control-linearizer.cc |
index dabf52dce4d88cf3eaba9867e753634d3fdda6c3..1f751d8af03a1655acf0a78db4452358a42166e9 100644 |
--- a/src/compiler/effect-control-linearizer.cc |
+++ b/src/compiler/effect-control-linearizer.cc |
@@ -342,6 +342,9 @@ 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); |
+ break; |
case IrOpcode::kChangeBitToTagged: |
state = LowerChangeBitToTagged(node, *effect, *control); |
break; |
@@ -402,6 +405,12 @@ bool EffectControlLinearizer::TryWireInStateEffect(Node* node, Node** effect, |
return true; |
} |
+EffectControlLinearizer::ValueEffectControl EffectControlLinearizer::LowerGuard( |
+ Node* node, Node* effect, Node* control) { |
+ Node* value = node->InputAt(0); |
+ return ValueEffectControl(value, effect, control); |
+} |
+ |
EffectControlLinearizer::ValueEffectControl |
EffectControlLinearizer::LowerChangeFloat64ToTagged(Node* node, Node* effect, |
Node* control) { |