Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 26c9582

Browse filesBrowse files
committed
Trivial improvements
1 parent c4d109a commit 26c9582
Copy full SHA for 26c9582

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎bolt/include/bolt/Core/MCPlusBuilder.h

Copy file name to clipboardExpand all lines: bolt/include/bolt/Core/MCPlusBuilder.h
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ class MCPlusBuilder {
566566
/// or std::nullopt if not authenticating any register.
567567
///
568568
/// Sets IsChecked if the instruction always checks authenticated pointer,
569-
/// i.e. it either returns a successfully authenticated pointer or terminates
569+
/// i.e. it either writes a successfully authenticated pointer or terminates
570570
/// the program abnormally (such as "ldra x0, [x1]!" on AArch64, which crashes
571571
/// on authentication failure even if FEAT_FPAC is not implemented).
572572
virtual std::optional<MCPhysReg>
@@ -610,7 +610,7 @@ class MCPlusBuilder {
610610
getRegUsedAsIndirectBranchDest(const MCInst &Inst,
611611
bool &IsAuthenticatedInternally) const {
612612
llvm_unreachable("not implemented");
613-
return getNoRegister();
613+
return 0;
614614
}
615615

616616
/// Returns the register containing an address safely materialized by `Inst`

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.