Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index 30d2caaac36fcd21370c6ea54eeda1fc2f5509c2..e53b84a0ebc8c7bede6abcc1548416132dd84592 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1779,12 +1779,6 @@ void InstructionSelector::VisitCall(Node* node, BasicBlock* handler) { |
CallDescriptor::Flags flags = descriptor->flags(); |
if (handler) { |
DCHECK_EQ(IrOpcode::kIfException, handler->front()->opcode()); |
- IfExceptionHint hint = OpParameter<IfExceptionHint>(handler->front()); |
- if (hint == IfExceptionHint::kLocallyCaught) { |
- flags |= CallDescriptor::kHasLocalCatchHandler; |
- } else if (hint == IfExceptionHint::kLocallyCaughtForPromiseReject) { |
- flags |= CallDescriptor::kHasLocalCatchHandlerForPromiseReject; |
- } |
flags |= CallDescriptor::kHasExceptionHandler; |
buffer.instruction_args.push_back(g.Label(handler)); |
} |