mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Make sure CWriter's Context get's initialized.
llvm-svn: 76147
This commit is contained in:
parent
48510f16fb
commit
f988544dcf
@ -1816,6 +1816,8 @@ static SpecialGlobalClass getGlobalVariableClass(const GlobalVariable *GV) {
|
||||
|
||||
|
||||
bool CWriter::doInitialization(Module &M) {
|
||||
FunctionPass::doInitialization(M);
|
||||
|
||||
// Initialize
|
||||
TheModule = &M;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user