diff options
author | Jay Foad <jay.foad@gmail.com> | 2011-04-13 15:22:40 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2011-04-13 15:22:40 +0000 |
commit | d30aa5a1edac5256573e8d76dd155df3d3fdec84 (patch) | |
tree | 44ea3dcfd671f35aa164dd360f796af3ee86903e /include/llvm/Constants.h | |
parent | fd1cced726469e83915f428877a521ba737d35f3 (diff) | |
download | external_llvm-d30aa5a1edac5256573e8d76dd155df3d3fdec84.zip external_llvm-d30aa5a1edac5256573e8d76dd155df3d3fdec84.tar.gz external_llvm-d30aa5a1edac5256573e8d76dd155df3d3fdec84.tar.bz2 |
PR9214: Convert ConstantExpr::getIndices() to return an ArrayRef, plus
related tweaks to ExprMapKeyType.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129443 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r-- | include/llvm/Constants.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index f00a763..eabc3a5 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -885,7 +885,7 @@ public: /// getIndices - Assert that this is an insertvalue or exactvalue /// expression and return the list of indices. - const SmallVector<unsigned, 4> &getIndices() const; + ArrayRef<unsigned> getIndices() const; /// getOpcodeName - Return a string representation for an opcode. const char *getOpcodeName() const; |