mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
smallvectorize and ArrayRef'ize some stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149077 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -211,11 +211,11 @@ public:
|
||||
/// used behind the scenes to implement getelementpr constant exprs.
|
||||
class GetElementPtrConstantExpr : public ConstantExpr {
|
||||
virtual void anchor();
|
||||
GetElementPtrConstantExpr(Constant *C, const std::vector<Constant*> &IdxList,
|
||||
GetElementPtrConstantExpr(Constant *C, ArrayRef<Constant*> IdxList,
|
||||
Type *DestTy);
|
||||
public:
|
||||
static GetElementPtrConstantExpr *Create(Constant *C,
|
||||
const std::vector<Constant*>&IdxList,
|
||||
ArrayRef<Constant*> IdxList,
|
||||
Type *DestTy,
|
||||
unsigned Flags) {
|
||||
GetElementPtrConstantExpr *Result =
|
||||
|
||||
Reference in New Issue
Block a user