mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 10:13:13 +00:00
Allow modifying a global variables constness property
llvm-svn: 5468
This commit is contained in:
parent
c68ccffee6
commit
58fa654380
@ -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…
x
Reference in New Issue
Block a user