Index: src/IceGlobalContext.cpp |
diff --git a/src/IceGlobalContext.cpp b/src/IceGlobalContext.cpp |
index 8a53271b46e13807b226462720496fa98ae8eecf..0b1dc76b7f367bd79910bfdead2dbbacde603138 100644 |
--- a/src/IceGlobalContext.cpp |
+++ b/src/IceGlobalContext.cpp |
@@ -277,7 +277,7 @@ GlobalContext::GlobalContext(Ostream *OsDump, Ostream *OsEmit, Ostream *OsError, |
ProfileBlockInfoVarDecl->setSuppressMangling(); |
ProfileBlockInfoVarDecl->setLinkage(llvm::GlobalValue::ExternalLinkage); |
- TargetLowering::staticInit(Flags); |
+ TargetLowering::staticInit(this); |
} |
void GlobalContext::translateFunctions() { |