Lines Matching refs:trap
481 Reduction CommonOperatorReducer::ReduceTrapConditional(Node* trap) {
482 DCHECK(trap->opcode() == IrOpcode::kTrapIf ||
483 trap->opcode() == IrOpcode::kTrapUnless);
484 bool trapping_condition = trap->opcode() == IrOpcode::kTrapIf;
485 Node* const cond = trap->InputAt(0);
491 // This will always trap. Mark its outputs as dead and connect it to
493 ReplaceWithValue(trap, dead(), dead(), dead());
494 Node* effect = NodeProperties::GetEffectInput(trap);
495 Node* control = graph()->NewNode(common()->Throw(), effect, trap);
498 return Changed(trap);
500 // This will not trap, remove it.
501 return Replace(NodeProperties::GetControlInput(trap));