mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Allow modifying a global variables constness property
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5468 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
bb3e5d4f6e
commit
8bac08bf04
@ -85,8 +85,9 @@ public:
|
||||
/// runtime execution of the program. Assigning a value into the constant
|
||||
/// leads to undefined behavior.
|
||||
///
|
||||
inline bool isConstant() const { return isConstantGlobal; }
|
||||
|
||||
bool isConstant() const { return isConstantGlobal; }
|
||||
void setConstant(bool Value) { isConstantGlobal = Value; }
|
||||
|
||||
virtual void print(std::ostream &OS) const;
|
||||
|
||||
// Methods for support type inquiry through isa, cast, and dyn_cast:
|
||||
|
Loading…
Reference in New Issue
Block a user