Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index 1c231a70b62b5395d6b37bc333b751f2f7d98cdd..b9af527eea33b1fabb3ee50fa80abc2ca09eae60 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -369,7 +369,7 @@ bool RelocInfo::IsPatchedReturnSequence() { |
// The 11th byte is int3 (0xCC) in the return sequence and |
// REX.WB (0x48+register bit) for the call sequence. |
#ifdef ENABLE_DEBUGGER_SUPPORT |
- return pc_[10] != 0xCC; |
+ return pc_[2 + kPointerSize] != 0xCC; |
#else |
return false; |
#endif |