You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (exception->GetExceptionContext() && exception->GetExceptionContext()->ThrowingFunction())
159
159
{
160
-
WalkStackForCleaningUpInlineeInfo(scriptContext, nullptr/* start stackwalk from the current frame */, tryCatchFrameAddr);
160
+
WalkStackForCleaningUpInlineeInfo(scriptContext, nullptr/* start stackwalk from the current frame */, tryHandlerAddrOfReturnAddr);
161
161
}
162
162
#endif
163
163
@@ -212,11 +212,11 @@ namespace Js
212
212
if (exception)
213
213
{
214
214
#if ENABLE_NATIVE_CODEGEN
215
-
if (scriptContext->GetThreadContext()->GetTryCatchFrameAddr() != nullptr)
215
+
if (scriptContext->GetThreadContext()->GetTryHandlerAddrOfReturnAddr() != nullptr)
216
216
{
217
217
if (exception->GetExceptionContext() && exception->GetExceptionContext()->ThrowingFunction())
218
218
{
219
-
WalkStackForCleaningUpInlineeInfo(scriptContext, nullptr/* start stackwalk from the current frame */, scriptContext->GetThreadContext()->GetTryCatchFrameAddr());
219
+
WalkStackForCleaningUpInlineeInfo(scriptContext, nullptr/* start stackwalk from the current frame */, scriptContext->GetThreadContext()->GetTryHandlerAddrOfReturnAddr());
if (scriptContext->GetThreadContext()->GetTryCatchFrameAddr() != nullptr)
389
+
if (scriptContext->GetThreadContext()->GetTryHandlerAddrOfReturnAddr() != nullptr)
391
390
{
392
391
if (exception->GetExceptionContext() && exception->GetExceptionContext()->ThrowingFunction())
393
392
{
394
-
WalkStackForCleaningUpInlineeInfo(scriptContext, nullptr/* start stackwalk from the current frame */, scriptContext->GetThreadContext()->GetTryCatchFrameAddr());
393
+
WalkStackForCleaningUpInlineeInfo(scriptContext, nullptr/* start stackwalk from the current frame */, scriptContext->GetThreadContext()->GetTryHandlerAddrOfReturnAddr());
if (scriptContext->GetThreadContext()->GetTryCatchFrameAddr() != nullptr)
723
+
if (scriptContext->GetThreadContext()->GetTryHandlerAddrOfReturnAddr() != nullptr)
726
724
{
727
725
if (pExceptionObject->GetExceptionContext() && pExceptionObject->GetExceptionContext()->ThrowingFunction())
728
726
{
729
-
WalkStackForCleaningUpInlineeInfo(scriptContext, nullptr/* start stackwalk from the current frame */, scriptContext->GetThreadContext()->GetTryCatchFrameAddr());
727
+
WalkStackForCleaningUpInlineeInfo(scriptContext, nullptr/* start stackwalk from the current frame */, scriptContext->GetThreadContext()->GetTryHandlerAddrOfReturnAddr());
730
728
}
731
729
}
732
730
else
@@ -1053,14 +1051,14 @@ namespace Js
1053
1051
}
1054
1052
#if ENABLE_NATIVE_CODEGEN
1055
1053
// TODO: Add code address of throwing function on exception context, and use that for returnAddress instead of passing nullptr which starts stackwalk from the top
0 commit comments