Index: src/IceInstARM32.cpp |
diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp |
index 93bbb2769b2db2e1e7027c614765415e557e2856..c32fcaa55c795bcd29fead5eb3d0c6716b25b671 100644 |
--- a/src/IceInstARM32.cpp |
+++ b/src/IceInstARM32.cpp |
@@ -1948,6 +1948,12 @@ void InstARM32Trap::emit(const Cfg *Func) const { |
} |
} |
+void InstARM32Trap::emitIAS(const Cfg *Func) const { |
+ auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>(); |
+ Asm->trap(); |
+ assert(!Asm->needsTextFixup()); |
+} |
+ |
void InstARM32Trap::dump(const Cfg *Func) const { |
if (!BuildDefs::dump()) |
return; |