| Index: src/compiler/instruction.h | 
| diff --git a/src/compiler/instruction.h b/src/compiler/instruction.h | 
| index bba5bb3c177840be9071724fea4e342d1fe30b1b..cc19c52816905e2076dab6a4104248639a5e43f6 100644 | 
| --- a/src/compiler/instruction.h | 
| +++ b/src/compiler/instruction.h | 
| @@ -897,6 +897,10 @@ class V8_EXPORT_PRIVATE Instruction final { | 
| FlagsModeField::decode(opcode()) == kFlags_deoptimize; | 
| } | 
|  | 
| +  bool IsTrap() const { | 
| +    return FlagsModeField::decode(opcode()) == kFlags_trap; | 
| +  } | 
| + | 
| bool IsJump() const { return arch_opcode() == ArchOpcode::kArchJmp; } | 
| bool IsRet() const { return arch_opcode() == ArchOpcode::kArchRet; } | 
| bool IsTailCall() const { | 
|  |