Index: src/debug.cc |
diff --git a/src/debug.cc b/src/debug.cc |
index 1dc627591557596e7b8f0f8feca9ab1deb028d33..b8e0252aaef8a4e60eae6eb91729e3ff43c4f976 100644 |
--- a/src/debug.cc |
+++ b/src/debug.cc |
@@ -472,8 +472,9 @@ void BreakLocationIterator::ClearDebugBreakAtIC() { |
RelocInfo::Mode mode = rmode(); |
if (RelocInfo::IsCodeTarget(mode)) { |
+ AssertNoAllocation nogc; |
Address target = original_rinfo()->target_address(); |
- Handle<Code> code(Code::GetCodeFromTargetAddress(target)); |
+ Code* code = Code::GetCodeFromTargetAddress(target); |
// Restore the inlined version of keyed stores to get back to the |
// fast case. We need to patch back the keyed store because no |