Chromium Code Reviews| Index: src/IceDefs.h |
| diff --git a/src/IceDefs.h b/src/IceDefs.h |
| index 4c616f832bb68c19cb67412c91483c6a91c297a4..5fae5178d672f95a2cacf4725ae3372a35ad2f9d 100644 |
| --- a/src/IceDefs.h |
| +++ b/src/IceDefs.h |
| @@ -29,6 +29,7 @@ |
| #include "llvm/ADT/BitVector.h" |
| #include "llvm/ADT/SmallBitVector.h" |
| +#include "llvm/ADT/SmallVector.h" |
| #include "llvm/ADT/STLExtras.h" |
| #include "llvm/Support/Casting.h" |
| #include "llvm/Support/Compiler.h" // LLVM_STATIC_ASSERT |
| @@ -64,6 +65,12 @@ typedef std::list<InstPhi *> PhiList; |
| typedef std::vector<Variable *> VarList; |
| typedef std::vector<CfgNode *> NodeList; |
| typedef std::vector<Constant *> ConstantList; |
| +typedef std::vector<IceString> StringList; |
|
jvoung (off chromium)
2014/06/27 22:33:24
I don't think you need StringList anymore then?
|
| + |
| +const unsigned VECT128_BYTES = 16; |
| +// TODO(stichnot): Switch Vect128 to std::array after C++11 |
| +typedef llvm::SmallVector<char, VECT128_BYTES> Vect128; |
| +typedef llvm::SmallVector<bool, VECT128_BYTES> BitVect; |
| // SizeT is for holding small-ish limits like number of source |
| // operands in an instruction. It is used instead of size_t (which |