aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Bytecode/WriteBytecodePass.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Bytecode/WriteBytecodePass.h')
-rw-r--r--include/llvm/Bytecode/WriteBytecodePass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Bytecode/WriteBytecodePass.h b/include/llvm/Bytecode/WriteBytecodePass.h
index 84e491a7d9..297fbb76e1 100644
--- a/include/llvm/Bytecode/WriteBytecodePass.h
+++ b/include/llvm/Bytecode/WriteBytecodePass.h
@@ -25,8 +25,8 @@ public:
if (DeleteStream) delete Out;
}
- bool run(Module *M) {
- WriteBytecodeToFile(M, *Out);
+ bool run(Module &M) {
+ WriteBytecodeToFile(&M, *Out);
return false;
}
};