| Index: src/debug/x64/debug-x64.cc
|
| diff --git a/src/debug/x64/debug-x64.cc b/src/debug/x64/debug-x64.cc
|
| index a85ddb30936fb9b41fecb53cafcce78432bf654d..910d1ca001f56e227c31ce87253a88d34c1d4a15 100644
|
| --- a/src/debug/x64/debug-x64.cc
|
| +++ b/src/debug/x64/debug-x64.cc
|
| @@ -39,7 +39,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());
|
| static const int kSize = Assembler::kDebugBreakSlotLength;
|
| CodePatcher patcher(isolate, pc, kSize);
|
| Label check_codesize;
|
|
|