Skip to content

Commit dce1793

Browse files
committed
[JITLink][aarch32] Change writeRegister's return type to void.
This function does not return a value. llvm#64418
1 parent 2fb1c10 commit dce1793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/ExecutionEngine/JITLink/aarch32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ bool checkRegister(const ThumbRelocation &R, HalfWords Reg) {
173173
}
174174

175175
template <EdgeKind_aarch32 Kind>
176-
bool writeRegister(WritableThumbRelocation &R, HalfWords Reg) {
176+
void writeRegister(WritableThumbRelocation &R, HalfWords Reg) {
177177
static constexpr HalfWords Mask = FixupInfo<Kind>::RegMask;
178178
assert((Mask.Hi & Reg.Hi) == Reg.Hi && (Mask.Hi & Reg.Hi) == Reg.Hi &&
179179
"Value bits exceed bit range of given mask");

0 commit comments

Comments
 (0)