Minor cleanup.
Change-Id: I244ba8d9561f2f5ba7b21fafaf6ff2eba0314984
diff --git a/src/assembler.h b/src/assembler.h
index ae2619e..ae29a24 100644
--- a/src/assembler.h
+++ b/src/assembler.h
@@ -204,12 +204,14 @@
// AssemblerBuffer::EnsureCapacity ensured(&buffer);
// ... emit bytes for single instruction ...
-#ifdef DEBUG
+#ifndef NDEBUG
class EnsureCapacity {
public:
explicit EnsureCapacity(AssemblerBuffer* buffer) {
- if (buffer->cursor() >= buffer->limit()) buffer->ExtendCapacity();
+ if (buffer->cursor() >= buffer->limit()) {
+ buffer->ExtendCapacity();
+ }
// In debug mode, we save the assembler buffer along with the gap
// size before we start emitting to the buffer. This allows us to
// check that any single generated instruction doesn't overflow the