| Index: src/compiler/ppc/instruction-selector-ppc.cc
|
| diff --git a/src/compiler/ppc/instruction-selector-ppc.cc b/src/compiler/ppc/instruction-selector-ppc.cc
|
| index afe30d4c8591b4673aad949e887ff06720490762..4f1cbe025b83e9d2f92b550a09c7dd97bc0de908 100644
|
| --- a/src/compiler/ppc/instruction-selector-ppc.cc
|
| +++ b/src/compiler/ppc/instruction-selector-ppc.cc
|
| @@ -1461,6 +1461,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));
|
| }
|
|
|