llvm.org GIT mirror llvm / 250ab62
Fix gcc's -Wunused-but-set-variable warnings. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168576 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 7 years ago
1 changed file(s) with 0 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
666666 const uint8_t *actionTableStart = callSiteTableEnd;
667667 const uint8_t *callSitePtr = callSiteTableStart;
668668
669 bool foreignException = false;
670
671669 while (callSitePtr < callSiteTableEnd) {
672670 uintptr_t start = readEncodedPointer(&callSitePtr,
673671 callSiteEncoding);
683681 // We have been notified of a foreign exception being thrown,
684682 // and we therefore need to execute cleanup landing pads
685683 actionEntry = 0;
686 foreignException = true;
687684 }
688685
689686 if (landingPad == 0) {
16861683 std::vector structVals;
16871684
16881685 llvm::Constant *nextStruct;
1689 llvm::GlobalVariable *nextGlobal = NULL;
16901686
16911687 // Generate each type info
16921688 //
17011697 typeInfoName = typeInfoNameBuilder.str();
17021698
17031699 // Note: Does not seem to work without allocation
1704 nextGlobal =
17051700 new llvm::GlobalVariable(module,
17061701 ourTypeInfoType,
17071702 true,