Index: src/compiler/instruction-selector.cc |
diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc |
index aa8e33bbb1ab2ff6cc903be2d31cfbced4edbf79..ec34fe8c09aeef0fbf365601e1a43ec80aadea6b 100644 |
--- a/src/compiler/instruction-selector.cc |
+++ b/src/compiler/instruction-selector.cc |
@@ -1712,6 +1712,8 @@ void InstructionSelector::VisitCall(Node* node, BasicBlock* handler) { |
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)); |