Index: src/IceInstARM32.cpp |
diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp |
index 78caab06f85bbb9d7934fd11e0f34d4ec6d06249..82a92e6f132f8ecf07e11f7b2e9820199fe08f7b 100644 |
--- a/src/IceInstARM32.cpp |
+++ b/src/IceInstARM32.cpp |
@@ -1763,6 +1763,15 @@ void InstARM32Dmb::emit(const Cfg *Func) const { |
"sy"; |
} |
+void InstARM32Dmb::emitIAS(const Cfg *Func) const { |
+ assert(getSrcSize() == 0); |
+ auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
+ constexpr ARM32::IValueT SyOption = 0xF; // i.e. 1111 |
+ Asm->dmb(SyOption); |
+ if (Asm->needsTextFixup()) |
+ emitUsingTextFixup(Func); |
+} |
+ |
void InstARM32Dmb::dump(const Cfg *Func) const { |
if (!BuildDefs::dump()) |
return; |