mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Make sure CWriter's Context get's initialized.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76147 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
10a3659101
commit
53448652e4
@ -1816,6 +1816,8 @@ static SpecialGlobalClass getGlobalVariableClass(const GlobalVariable *GV) {
|
||||
|
||||
|
||||
bool CWriter::doInitialization(Module &M) {
|
||||
FunctionPass::doInitialization(M);
|
||||
|
||||
// Initialize
|
||||
TheModule = &M;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user