this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ObjC 1 ABI: remove the last frame on exception throw

+7 -3
+7 -3
src/libobjcdarwin/old/exceptions.cpp
··· 22 22 } 23 23 else 24 24 { 25 - m_lastBlock->exceptionObject = object; 26 - longjmp(m_lastBlock->buffer, true); 25 + TryBlock* currentBlock = m_lastBlock; 26 + 27 + currentBlock->exceptionObject = object; 28 + m_lastBlock = m_lastBlock->previousBlock; 29 + 30 + longjmp(currentBlock->buffer, true); 27 31 } 28 32 } 29 33 ··· 48 52 void* objc_exception_extract(TryBlock* state) 49 53 { 50 54 TRACE1(state); 51 - return m_lastBlock->exceptionObject; 55 + return state->exceptionObject; 52 56 } 53 57 54 58 int objc_exception_match(objc_class* cls, objc_object* object)