summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 48bb786)
raw | patch | inline | side by side (parent: 48bb786)
author | Rafael Espindola <rafael.espindola@gmail.com> | |
Mon, 26 Nov 2012 00:56:44 +0000 (00:56 +0000) | ||
committer | Rafael Espindola <rafael.espindola@gmail.com> | |
Mon, 26 Nov 2012 00:56:44 +0000 (00:56 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168576 91177308-0d34-0410-b5e6-96231b3b80d8
examples/ExceptionDemo/ExceptionDemo.cpp | patch | blob | history |
index 215cb4d3714fb56a1ce190c3a35b1b7009b76553..2d35ca73e87079ba32ae9751253b946f3be2f90a 100644 (file)
const uint8_t *actionTableStart = callSiteTableEnd;
const uint8_t *callSitePtr = callSiteTableStart;
- bool foreignException = false;
-
while (callSitePtr < callSiteTableEnd) {
uintptr_t start = readEncodedPointer(&callSitePtr,
callSiteEncoding);
// We have been notified of a foreign exception being thrown,
// and we therefore need to execute cleanup landing pads
actionEntry = 0;
- foreignException = true;
}
if (landingPad == 0) {
std::vector<llvm::Constant*> structVals;
llvm::Constant *nextStruct;
- llvm::GlobalVariable *nextGlobal = NULL;
// Generate each type info
//
typeInfoName = typeInfoNameBuilder.str();
// Note: Does not seem to work without allocation
- nextGlobal =
new llvm::GlobalVariable(module,
ourTypeInfoType,
true,