Index: src/debug/s390/debug-s390.cc |
diff --git a/src/debug/s390/debug-s390.cc b/src/debug/s390/debug-s390.cc |
index c6764c2dcaa32a764f8202ecf210a212ee014da0..9c33b95e3b9ebc4fbe7f62d7ecd26c577cbdb32c 100644 |
--- a/src/debug/s390/debug-s390.cc |
+++ b/src/debug/s390/debug-s390.cc |
@@ -45,7 +45,7 @@ void DebugCodegen::ClearDebugBreakSlot(Isolate* isolate, Address pc) { |
void DebugCodegen::PatchDebugBreakSlot(Isolate* isolate, Address pc, |
Handle<Code> code) { |
- DCHECK_EQ(Code::BUILTIN, code->kind()); |
+ DCHECK(code->is_debug_stub()); |
CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotLength); |
// Patch the code changing the debug break slot code from |
// |