Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index ed8664a9c5f32f10ddc131ad8973e2b79cc37347..b90ff1e05b6a383cbf40276af1e762b20ebd2635 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -494,6 +494,7 @@ void Assembler::GetCode(CodeDesc* desc) { |
void Assembler::Align(int m) { |
DCHECK(m >= 4 && base::bits::IsPowerOfTwo32(m)); |
+ DCHECK((pc_offset() & (kInstrSize - 1)) == 0); |
while ((pc_offset() & (m - 1)) != 0) { |
nop(); |
} |