IncludeFile hack to pull in BasicValueNumbering whenever ValueNumbering.h

is included.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10397 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2003-12-11 05:05:56 +00:00
parent fc188b95b8
commit 8e32f5e46d
2 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,7 @@
#define LLVM_ANALYSIS_VALUE_NUMBERING_H
#include <vector>
#include "llvm/Pass.h"
namespace llvm {
@ -37,6 +38,10 @@ struct ValueNumbering {
virtual ~ValueNumbering(); // We want to be subclassed
};
extern void BasicValueNumberingStub();
static IncludeFile
HDR_INCLUDE_VALUENUMBERING_CPP((void*)&BasicValueNumberingStub);
} // End llvm namespace
#endif

View File

@ -191,4 +191,6 @@ void BVNImpl::visitGetElementPtrInst(GetElementPtrInst &I) {
}
}
void BasicValueNumberingStub() { }
} // End llvm namespace