Remove always true checks. Noticed by Adhemerval Zanella.

llvm-svn: 163117
This commit is contained in:
Roman Divacky 2012-09-03 16:55:42 +00:00
parent bb0dcf509a
commit 1a4b67cd3a

View File

@ -417,9 +417,9 @@ void PPCLinuxAsmPrinter::EmitFunctionEntryLabel() {
OutContext.GetOrCreateSymbol(".L." + Twine(CurrentFnSym->getName()));
MCSymbol *Symbol2 = OutContext.GetOrCreateSymbol(StringRef(".TOC.@tocbase"));
OutStreamer.EmitValue(MCSymbolRefExpr::Create(Symbol1, OutContext),
Subtarget.isPPC64() ? 8 : 4/*size*/, 0/*addrspace*/);
8/*size*/, 0/*addrspace*/);
OutStreamer.EmitValue(MCSymbolRefExpr::Create(Symbol2, OutContext),
Subtarget.isPPC64() ? 8 : 4/*size*/, 0/*addrspace*/);
8/*size*/, 0/*addrspace*/);
OutStreamer.SwitchSection(Current);
MCSymbol *RealFnSym = OutContext.GetOrCreateSymbol(