mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Mark MDNode::getOperand as readonly.
We can't inline it but we can still CSE calls to it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186156 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6f0ec20e8f
commit
7ffc422659
@ -139,7 +139,7 @@ public:
|
||||
void replaceOperandWith(unsigned i, Value *NewVal);
|
||||
|
||||
/// getOperand - Return specified operand.
|
||||
Value *getOperand(unsigned i) const;
|
||||
Value *getOperand(unsigned i) const LLVM_READONLY;
|
||||
|
||||
/// getNumOperands - Return number of MDNode operands.
|
||||
unsigned getNumOperands() const { return NumOperands; }
|
||||
|
Loading…
Reference in New Issue
Block a user