Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index 7df9202324945a0f244319e7261e73934b8af05a..5e8f14ab0e3eaada8bd9799c1e7f718c74b4eef2 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -1495,11 +1495,13 @@ void Assembler::mov_label_offset(Register dst, Label* label) { |
void Assembler::movw(Register reg, uint32_t immediate, Condition cond) { |
+ ASSERT(CpuFeatures::IsSupported(ARMv7)); |
emit(cond | 0x30*B20 | reg.code()*B12 | EncodeMovwImmediate(immediate)); |
} |
void Assembler::movt(Register reg, uint32_t immediate, Condition cond) { |
+ ASSERT(CpuFeatures::IsSupported(ARMv7)); |
emit(cond | 0x34*B20 | reg.code()*B12 | EncodeMovwImmediate(immediate)); |
} |