Index: src/ia32/macro-assembler-ia32.cc |
=================================================================== |
--- src/ia32/macro-assembler-ia32.cc (revision 2860) |
+++ src/ia32/macro-assembler-ia32.cc (working copy) |
@@ -1170,8 +1170,9 @@ |
} |
+#ifdef ENABLE_DEBUGGER_SUPPORT |
CodePatcher::CodePatcher(byte* address, int size) |
- : address_(address), size_(size), masm_(address, size + Assembler::kGap) { |
+ : address_(address), size_(size), masm_(address, size + Assembler::kGap) { |
// Create a new macro assembler pointing to the address of the code to patch. |
// The size is adjusted with kGap on order for the assembler to generate size |
// bytes of instructions without failing with buffer size constraints. |
@@ -1187,6 +1188,7 @@ |
ASSERT(masm_.pc_ == address_ + size_); |
ASSERT(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); |
} |
+#endif // ENABLE_DEBUGGER_SUPPORT |
} } // namespace v8::internal |