diff options
Diffstat (limited to 'llvm/tools/gold/gold-plugin.cpp')
-rw-r--r-- | llvm/tools/gold/gold-plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/gold/gold-plugin.cpp b/llvm/tools/gold/gold-plugin.cpp index e7888bea9e6..abe6e4dd66b 100644 --- a/llvm/tools/gold/gold-plugin.cpp +++ b/llvm/tools/gold/gold-plugin.cpp @@ -693,7 +693,7 @@ static void codegen(Module &M) { runLTOPasses(M, *TM); PassManager CodeGenPasses; - CodeGenPasses.add(new DataLayoutPass(&M)); + CodeGenPasses.add(new DataLayoutPass()); SmallString<128> Filename; int FD; |