| Index: src/compiler/instruction-selector.cc
|
| diff --git a/src/compiler/instruction-selector.cc b/src/compiler/instruction-selector.cc
|
| index 2d0b2bd8af18c44af2b4691d306ee2ed42713045..d007fbf13d57fc00e8b20c6455bc981ad176633a 100644
|
| --- a/src/compiler/instruction-selector.cc
|
| +++ b/src/compiler/instruction-selector.cc
|
| @@ -505,9 +505,8 @@ void InstructionSelector::VisitControl(BasicBlock* block) {
|
| case BasicBlock::kCall: {
|
| DCHECK_EQ(IrOpcode::kCall, input->opcode());
|
| BasicBlock* success = block->SuccessorAt(0);
|
| - // TODO(mstarzinger): Record location of {exception} in {handler_table}.
|
| - // BasicBlock* exception = block->SuccessorAt(1);
|
| - return VisitCall(input), VisitGoto(success);
|
| + BasicBlock* exception = block->SuccessorAt(1);
|
| + return VisitCall(input, exception), VisitGoto(success);
|
| }
|
| case BasicBlock::kBranch: {
|
| DCHECK_EQ(IrOpcode::kBranch, input->opcode());
|
| @@ -756,7 +755,7 @@ void InstructionSelector::VisitNode(Node* node) {
|
| return VisitConstant(node);
|
| }
|
| case IrOpcode::kCall:
|
| - return VisitCall(node);
|
| + return VisitCall(node, nullptr);
|
| case IrOpcode::kFrameState:
|
| case IrOpcode::kStateValues:
|
| return;
|
|
|