| Index: src/compiler/s390/instruction-selector-s390.cc
 | 
| diff --git a/src/compiler/s390/instruction-selector-s390.cc b/src/compiler/s390/instruction-selector-s390.cc
 | 
| index c2c35b01276b92f776e1fbec8a8e4752a3e412a5..94f640bcca99c206277661c8856fe29e8b60e42c 100644
 | 
| --- a/src/compiler/s390/instruction-selector-s390.cc
 | 
| +++ b/src/compiler/s390/instruction-selector-s390.cc
 | 
| @@ -148,7 +148,7 @@ void VisitBinop(InstructionSelector* selector, Node* node,
 | 
|    opcode = cont->Encode(opcode);
 | 
|    if (cont->IsDeoptimize()) {
 | 
|      selector->EmitDeoptimize(opcode, output_count, outputs, input_count, inputs,
 | 
| -                             cont->frame_state());
 | 
| +                             cont->reason(), cont->frame_state());
 | 
|    } else {
 | 
|      selector->Emit(opcode, output_count, outputs, input_count, inputs);
 | 
|    }
 | 
| @@ -1365,7 +1365,7 @@ void VisitCompare(InstructionSelector* selector, InstructionCode opcode,
 | 
|      selector->Emit(opcode, g.NoOutput(), left, right,
 | 
|                     g.Label(cont->true_block()), g.Label(cont->false_block()));
 | 
|    } else if (cont->IsDeoptimize()) {
 | 
| -    selector->EmitDeoptimize(opcode, g.NoOutput(), left, right,
 | 
| +    selector->EmitDeoptimize(opcode, g.NoOutput(), left, right, cont->reason(),
 | 
|                               cont->frame_state());
 | 
|    } else {
 | 
|      DCHECK(cont->IsSet());
 | 
| @@ -1597,14 +1597,14 @@ void InstructionSelector::VisitBranch(Node* branch, BasicBlock* tbranch,
 | 
|  }
 | 
|  
 | 
|  void InstructionSelector::VisitDeoptimizeIf(Node* node) {
 | 
| -  FlagsContinuation cont =
 | 
| -      FlagsContinuation::ForDeoptimize(kNotEqual, node->InputAt(1));
 | 
| +  FlagsContinuation cont = FlagsContinuation::ForDeoptimize(
 | 
| +      kNotEqual, DeoptimizeReasonOf(node->op()), node->InputAt(1));
 | 
|    VisitWord32CompareZero(this, node, node->InputAt(0), &cont);
 | 
|  }
 | 
|  
 | 
|  void InstructionSelector::VisitDeoptimizeUnless(Node* node) {
 | 
| -  FlagsContinuation cont =
 | 
| -      FlagsContinuation::ForDeoptimize(kEqual, node->InputAt(1));
 | 
| +  FlagsContinuation cont = FlagsContinuation::ForDeoptimize(
 | 
| +      kEqual, DeoptimizeReasonOf(node->op()), node->InputAt(1));
 | 
|    VisitWord32CompareZero(this, node, node->InputAt(0), &cont);
 | 
|  }
 | 
|  
 | 
| 
 |