aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2010-10-29 23:37:38 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2010-10-29 23:37:38 +0000
commit47245422a45e1a2e89f402e745c6fbfa63d25c6e (patch)
tree5527a2b089f3c03ea2dc7de9bcfe32436698721f
parent189c1ec4c162ca3d36d9bca803b032eb19de434a (diff)
downloadexternal_llvm-47245422a45e1a2e89f402e745c6fbfa63d25c6e.zip
external_llvm-47245422a45e1a2e89f402e745c6fbfa63d25c6e.tar.gz
external_llvm-47245422a45e1a2e89f402e745c6fbfa63d25c6e.tar.bz2
Mult-alt constraint incremental development step 3.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117746 91177308-0d34-0410-b5e6-96231b3b80d8
-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 9343834..4ca012e 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 d9b0131..6cdeada 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,