diff options
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r-- | include/llvm/Instructions.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index 8d912f2..1335031 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -2375,7 +2375,11 @@ public: return getOperand(0); } - unsigned getIndex() { + inline unsigned getIndex() { + return Idx; + } + + inline const unsigned getIndex() const { return Idx; } |