commit | 1f74590e9d1b9cf0f1f81a156efea73f76546e05 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Fri Aug 06 00:23:35 2010 +0000 |
committer | Owen Anderson <resistor@mac.com> | Fri Aug 06 00:23:35 2010 +0000 |
tree | f3b2fa6368e824b1dd3ad04e8c1c4f070b4bb4a0 | |
parent | f6d6df40060eef9af19b084b2fb7a8fd627415ae [diff] [blame] |
Revert r110396 to fix buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110410 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp index 42afd6d..646aec3 100644 --- a/lib/Transforms/Scalar/GVN.cpp +++ b/lib/Transforms/Scalar/GVN.cpp
@@ -665,7 +665,7 @@ public: static char ID; // Pass identification, replacement for typeid explicit GVN(bool noloads = false) - : FunctionPass(ID), NoLoads(noloads), MD(0) { } + : FunctionPass(&ID), NoLoads(noloads), MD(0) { } private: bool NoLoads;