mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
[SIMode] Fix typo in Status constructor
As noted in https://www.viva64.com/en/b/0629/ (Snippet No. 36) and the scan-build CI reports (https://llvm.org/reports/scan-build/report-SIModeRegister.cpp-Status-1-1.html#EndPath), rL348754 introduced a typo in the Status constructor due to argument variable names shadowing the member variable names. Differential Revision: https://reviews.llvm.org/D61595 llvm-svn: 360236
This commit is contained in:
parent
75ba6b12c7
commit
ffb3b85d6b
@ -44,7 +44,7 @@ struct Status {
|
||||
|
||||
Status() : Mask(0), Mode(0){};
|
||||
|
||||
Status(unsigned Mask, unsigned Mode) : Mask(Mask), Mode(Mode) {
|
||||
Status(unsigned NewMask, unsigned NewMode) : Mask(NewMask), Mode(NewMode) {
|
||||
Mode &= Mask;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user