OSDN Git Service

Mult-alt constraint incremental development step 3.
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>
Fri, 29 Oct 2010 23:37:38 +0000 (23:37 +0000)
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>
Fri, 29 Oct 2010 23:37:38 +0000 (23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117746 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/InlineAsm.h
include/llvm/Target/TargetLowering.h

index 9343834..4ca012e 100644 (file)
@@ -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
index d9b0131..6cdeada 100644 (file)
@@ -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,