@@ -371,7 +371,6 @@ void Compiler::unwindPushMaskInt(regMaskTP maskInt)
371371#if defined(_TARGET_UNIX_)
372372 if (generateCFIUnwindCodes ())
373373 {
374- unwindPushMaskCFI (maskInt, false );
375374 return ;
376375 }
377376#endif // _TARGET_UNIX_
@@ -388,7 +387,6 @@ void Compiler::unwindPushMaskFloat(regMaskTP maskFloat)
388387#if defined(_TARGET_UNIX_)
389388 if (generateCFIUnwindCodes ())
390389 {
391- unwindPushMaskCFI (maskFloat, true );
392390 return ;
393391 }
394392#endif // _TARGET_UNIX_
@@ -401,6 +399,7 @@ void Compiler::unwindPopMaskInt(regMaskTP maskInt)
401399#if defined(_TARGET_UNIX_)
402400 if (generateCFIUnwindCodes ())
403401 {
402+ unwindPushPopMaskCFI (maskInt, false );
404403 return ;
405404 }
406405#endif // _TARGET_UNIX_
@@ -429,6 +428,7 @@ void Compiler::unwindPopMaskFloat(regMaskTP maskFloat)
429428#if defined(_TARGET_UNIX_)
430429 if (generateCFIUnwindCodes ())
431430 {
431+ unwindPushPopMaskCFI (maskFloat, true );
432432 return ;
433433 }
434434#endif // _TARGET_UNIX_
@@ -443,7 +443,7 @@ void Compiler::unwindAllocStack(unsigned size)
443443#if defined(_TARGET_UNIX_)
444444 if (generateCFIUnwindCodes ())
445445 {
446- if (compGeneratingProlog )
446+ if (compGeneratingEpilog )
447447 {
448448 unwindAllocStackCFI (size);
449449 }
@@ -497,7 +497,7 @@ void Compiler::unwindSetFrameReg(regNumber reg, unsigned offset)
497497#if defined(_TARGET_UNIX_)
498498 if (generateCFIUnwindCodes ())
499499 {
500- if (compGeneratingProlog )
500+ if (compGeneratingEpilog )
501501 {
502502 unwindSetFrameRegCFI (reg, offset);
503503 }
0 commit comments