summaryrefslogtreecommitdiffstats
path: root/llvm
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
commita319ba384d73e089b8ddcee69a80f2dafbfaac2c (patch)
tree8ceff45327006fd66c4fe8acab5b427b1f52a982 /llvm
parent2b3f25e0315a8f692c9469f2508e1d111fd7e488 (diff)
downloadbcm5719-llvm-a319ba384d73e089b8ddcee69a80f2dafbfaac2c.tar.gz
bcm5719-llvm-a319ba384d73e089b8ddcee69a80f2dafbfaac2c.zip
Mult-alt constraint incremental development step 3.
llvm-svn: 117746
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/InlineAsm.h8
-rw-r--r--llvm/include/llvm/Target/TargetLowering.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/llvm/include/llvm/InlineAsm.h b/llvm/include/llvm/InlineAsm.h
index 93438343255..4ca012e9746 100644
--- a/llvm/include/llvm/InlineAsm.h
+++ b/llvm/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/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h
index d9b01314467..6cdeada2a22 100644
--- a/llvm/include/llvm/Target/TargetLowering.h
+++ b/llvm/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,
OpenPOWER on IntegriCloud