mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 23:37:33 +00:00
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:
parent
fc188b95b8
commit
8e32f5e46d
@ -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
|
||||
|
@ -191,4 +191,6 @@ void BVNImpl::visitGetElementPtrInst(GetElementPtrInst &I) {
|
||||
}
|
||||
}
|
||||
|
||||
void BasicValueNumberingStub() { }
|
||||
|
||||
} // End llvm namespace
|
||||
|
Loading…
x
Reference in New Issue
Block a user