Index: src/IceGlobalContext.cpp |
diff --git a/src/IceGlobalContext.cpp b/src/IceGlobalContext.cpp |
index 58406f348202418e9905c1539f135a4a91360e39..62a70e4e6d50d0011300b7894972426c77ca7b30 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.getTargetArch()); |
+ TargetLowering::staticInit(Flags); |
} |
void GlobalContext::translateFunctions() { |