Skip to content

Commit ee78fda

Browse files
committed
Nit fix on checking return instruction
1 parent 3bcad58 commit ee78fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
199199
continue;
200200
if (IsPop || IsSPAdj || isPAuthOnLR(Instr))
201201
continue;
202-
if (isReturn(Instr) || isPAuthAndRet(Instr))
202+
if (isReturn(Instr))
203203
return true;
204204
if (isBranch(Instr))
205205
break;

0 commit comments

Comments
 (0)