aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/InlineAsm.h8
-rw-r--r--include/llvm/Target/TargetLowering.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/InlineAsm.h b/include/llvm/InlineAsm.h
index 9343834325..4ca012e974 100644
--- a/include/llvm/InlineAsm.h
+++ b/include/llvm/InlineAsm.h
@@ -16,8 +16,8 @@
#ifndef LLVM_INLINEASM_H
#define LLVM_INLINEASM_H
-#include "llvm/ADT/SmallVector.h"
#include "llvm/Value.h"
+#include <vector>
namespace llvm {
@@ -87,7 +87,7 @@ public:
isClobber // '~x'
};
- typedef SmallVector<std::string,8> ConstraintCodeVector;
+ typedef std::vector<std::string> ConstraintCodeVector;
struct SubConstraintInfo {
/// MatchingInput - If this is not -1, this is an output constraint where an
@@ -102,9 +102,9 @@ public:
SubConstraintInfo() : MatchingInput(-1) {}
};
- typedef SmallVector<SubConstraintInfo,4> SubConstraintInfoVector;
+ typedef std::vector<SubConstraintInfo> SubConstraintInfoVector;
struct ConstraintInfo;
- typedef SmallVector<ConstraintInfo,16> ConstraintInfoVector;
+ typedef std::vector<ConstraintInfo> ConstraintInfoVector;
struct ConstraintInfo {
/// Type - The basic type of the constraint: input/output/clobber
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index d9b0131446..6cdeada2a2 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -1381,7 +1381,7 @@ public:
}
};
- typedef SmallVector<AsmOperandInfo,16> AsmOperandInfoVector;
+ typedef std::vector<AsmOperandInfo> AsmOperandInfoVector;
/// ParseConstraints - Split up the constraint string from the inline
/// assembly value into the specific constraints and their prefixes,