[llvm] 6ecbdb7 - GlobalISel: Make constant fields const
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue May 11 17:12:05 PDT 2021
Author: Matt Arsenault
Date: 2021-05-11T20:10:55-04:00
New Revision: 6ecbdb761ffd684dc5fe624c0058fe7527a01881
URL: https://github.com/llvm/llvm-project/commit/6ecbdb761ffd684dc5fe624c0058fe7527a01881
DIFF: https://github.com/llvm/llvm-project/commit/6ecbdb761ffd684dc5fe624c0058fe7527a01881.diff
LOG: GlobalISel: Make constant fields const
Added:
Modified:
llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h b/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
index 731dd940d50f..0fa8ba63a119 100644
--- a/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
+++ b/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h
@@ -197,7 +197,7 @@ class CallLowering {
}
private:
- bool IsIncomingArgumentHandler;
+ const bool IsIncomingArgumentHandler;
virtual void anchor();
};
@@ -216,7 +216,7 @@ class CallLowering {
struct ValueHandler {
MachineIRBuilder &MIRBuilder;
MachineRegisterInfo &MRI;
- bool IsIncomingArgumentHandler;
+ const bool IsIncomingArgumentHandler;
ValueHandler(bool IsIncoming, MachineIRBuilder &MIRBuilder,
MachineRegisterInfo &MRI)
More information about the llvm-commits
mailing list