Silence some constructor ordering warnings.
authorEric Christopher <echristo@apple.com>
Mon, 13 Sep 2010 18:25:05 +0000 (18:25 +0000)
committerEric Christopher <echristo@apple.com>
Mon, 13 Sep 2010 18:25:05 +0000 (18:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113767 91177308-0d34-0410-b5e6-96231b3b80d8

lib/VMCore/InlineAsm.cpp

index 814b31aeb386eb7415051c05864e6a5f3e1e2c54..7bbf0ba1ca4dd10bf588669d89fd0a2250c2e31b 100644 (file)
@@ -56,18 +56,18 @@ const FunctionType *InlineAsm::getFunctionType() const {
     
 ///Default constructor.
 InlineAsm::ConstraintInfo::ConstraintInfo() :
-  isMultipleAlternative(false),
   Type(isInput), isEarlyClobber(false),
   MatchingInput(-1), isCommutative(false),
-  isIndirect(false), currentAlternativeIndex(0) {
+  isIndirect(false), isMultipleAlternative(false),
+  currentAlternativeIndex(0) {
 }
 
 /// Copy constructor.
 InlineAsm::ConstraintInfo::ConstraintInfo(const ConstraintInfo &other) :
-  isMultipleAlternative(other.isMultipleAlternative),
   Type(other.Type), isEarlyClobber(other.isEarlyClobber),
   MatchingInput(other.MatchingInput), isCommutative(other.isCommutative),
   isIndirect(other.isIndirect), Codes(other.Codes),
+  isMultipleAlternative(other.isMultipleAlternative),
   multipleAlternatives(other.multipleAlternatives),
   currentAlternativeIndex(other.currentAlternativeIndex) {
 }