Index: src/debug/x87/debug-x87.cc |
diff --git a/src/debug/x87/debug-x87.cc b/src/debug/x87/debug-x87.cc |
index 029a00415f6912751af72320cd5a8b0e98753134..98e0f6f21795fa1ce72f0436de320dfeac0cf587 100644 |
--- a/src/debug/x87/debug-x87.cc |
+++ b/src/debug/x87/debug-x87.cc |
@@ -38,7 +38,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_EQ(Code::DEBUG_STUB, code->kind()); |
static const int kSize = Assembler::kDebugBreakSlotLength; |
CodePatcher patcher(isolate, pc, kSize); |