Index: src/arm/debug-arm.cc |
=================================================================== |
--- src/arm/debug-arm.cc (revision 4825) |
+++ src/arm/debug-arm.cc (working copy) |
@@ -263,7 +263,9 @@ |
void Debug::GenerateSlot(MacroAssembler* masm) { |
- // Generate enough nop's to make space for a call instruction. |
+ // Generate enough nop's to make space for a call instruction. Avoid emitting |
+ // the constant pool in the debug break slot code. |
+ Assembler::BlockConstPoolScope block_const_pool(masm); |
Label check_codesize; |
__ bind(&check_codesize); |
__ RecordDebugBreakSlot(); |