Index: src/compiler/arm/instruction-selector-arm.cc |
diff --git a/src/compiler/arm/instruction-selector-arm.cc b/src/compiler/arm/instruction-selector-arm.cc |
index 56b155da45bbc7b1ac0daece5c29c6074fb7e638..6fb0c5b5d5f61d8ef88418f8c86b191030f0613f 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -1106,6 +1106,11 @@ void InstructionSelector::VisitCall(Node* node, BasicBlock* handler) { |
// Pass label of exception handler block. |
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; |
+ } |
flags |= CallDescriptor::kHasExceptionHandler; |
buffer.instruction_args.push_back(g.Label(handler)); |
} |