diff options
Diffstat (limited to 'src/passes/InstrumentMemory.cpp')
-rw-r--r-- | src/passes/InstrumentMemory.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/passes/InstrumentMemory.cpp b/src/passes/InstrumentMemory.cpp index 486bc7c1f..b3c9aebbd 100644 --- a/src/passes/InstrumentMemory.cpp +++ b/src/passes/InstrumentMemory.cpp @@ -97,6 +97,9 @@ static Name array_set_index("array_set_index"); // TODO: Add support for atomicRMW/cmpxchg struct InstrumentMemory : public WalkerPass<PostWalker<InstrumentMemory>> { + // Adds calls to new imports. + bool addsEffects() override { return true; } + void visitLoad(Load* curr) { id++; Builder builder(*getModule()); |