Index: src/IceGlobalContext.cpp |
diff --git a/src/IceGlobalContext.cpp b/src/IceGlobalContext.cpp |
index 62a70e4e6d50d0011300b7894972426c77ca7b30..928fb6c2a1519492e6ca1058717d546653596628 100644 |
--- a/src/IceGlobalContext.cpp |
+++ b/src/IceGlobalContext.cpp |
@@ -271,7 +271,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() { |