Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index 66c3dbf032cbe23c18dfaee965e220f78b178392..c6ea6006fe3524f0a3797650e0a7fcde8574b12a 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -1368,6 +1368,7 @@ void Assembler::mls(Register dst, Register src1, Register src2, Register srcA, |
void Assembler::sdiv(Register dst, Register src1, Register src2, |
Condition cond) { |
ASSERT(!dst.is(pc) && !src1.is(pc) && !src2.is(pc)); |
+ ASSERT(IsEnabled(SUDIV)); |
emit(cond | B26 | B25| B24 | B20 | dst.code()*B16 | 0xf * B12 | |
src2.code()*B8 | B4 | src1.code()); |
} |