Skip to content

Commit 4186257

Browse files
MCCAS MaskRay Fix, a little more MCLEBFragment fix
1 parent 36bc2ff commit 4186257

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/MCCAS/MCCASObjectV1.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2861,8 +2861,7 @@ static ArrayRef<char> getFragmentContents(const MCFragment &Fragment) {
28612861
return SF.getContents();
28622862
}
28632863
case MCFragment::FT_LEB: {
2864-
const MCLEBFragment &SF = cast<MCLEBFragment>(Fragment);
2865-
return SF.getContents();
2864+
return Fragment.getContents();
28662865
}
28672866
default:
28682867
return ArrayRef<char>();

0 commit comments

Comments
 (0)