| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index f967a9775a067a55a29b8862053095e14b2c2df8..a285e5efc61c8498c2793c90ff6b2a9adc32c7e1 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -403,7 +403,7 @@ class AstGraphBuilder::FrameStateBeforeAndAfter {
|
|
|
| if (count >= 1) {
|
| // Add the frame state for after the operation.
|
| - DCHECK_EQ(IrOpcode::kDeadValue,
|
| + DCHECK_EQ(IrOpcode::kDead,
|
| NodeProperties::GetFrameStateInput(node, 0)->opcode());
|
|
|
| Node* frame_state_after =
|
| @@ -416,7 +416,7 @@ class AstGraphBuilder::FrameStateBeforeAndAfter {
|
|
|
| if (count >= 2) {
|
| // Add the frame state for before the operation.
|
| - DCHECK_EQ(IrOpcode::kDeadValue,
|
| + DCHECK_EQ(IrOpcode::kDead,
|
| NodeProperties::GetFrameStateInput(node, 1)->opcode());
|
| NodeProperties::ReplaceFrameStateInput(node, 1, frame_state_before_);
|
| }
|
| @@ -3761,7 +3761,8 @@ void AstGraphBuilder::PrepareFrameState(Node* node, BailoutId ast_id,
|
| OutputFrameStateCombine combine) {
|
| if (OperatorProperties::GetFrameStateInputCount(node->op()) > 0) {
|
| DCHECK_EQ(1, OperatorProperties::GetFrameStateInputCount(node->op()));
|
| - DCHECK_EQ(IrOpcode::kDeadValue,
|
| +
|
| + DCHECK_EQ(IrOpcode::kDead,
|
| NodeProperties::GetFrameStateInput(node, 0)->opcode());
|
| NodeProperties::ReplaceFrameStateInput(
|
| node, 0, environment()->Checkpoint(ast_id, combine));
|
| @@ -3816,9 +3817,9 @@ Node* AstGraphBuilder::MakeNode(const Operator* op, int value_input_count,
|
| }
|
| for (int i = 0; i < frame_state_count; i++) {
|
| // The frame state will be inserted later. Here we misuse
|
| - // the {DeadValue} node as a sentinel to be later overwritten
|
| + // the {DeadControl} node as a sentinel to be later overwritten
|
| // with the real frame state.
|
| - *current_input++ = jsgraph()->DeadValue();
|
| + *current_input++ = jsgraph()->DeadControl();
|
| }
|
| if (has_effect) {
|
| *current_input++ = environment_->GetEffectDependency();
|
|
|