[llvm-commits] [llvm] r113767 - /llvm/trunk/lib/VMCore/InlineAsm.cpp

Eric Christopher echristo at apple.com
Mon Sep 13 11:25:05 PDT 2010


Author: echristo
Date: Mon Sep 13 13:25:05 2010
New Revision: 113767

URL: http://llvm.org/viewvc/llvm-project?rev=113767&view=rev
Log:
Silence some constructor ordering warnings.

Modified:
    llvm/trunk/lib/VMCore/InlineAsm.cpp

Modified: llvm/trunk/lib/VMCore/InlineAsm.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/InlineAsm.cpp?rev=113767&r1=113766&r2=113767&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/InlineAsm.cpp (original)
+++ llvm/trunk/lib/VMCore/InlineAsm.cpp Mon Sep 13 13:25:05 2010
@@ -56,18 +56,18 @@
     
 ///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) {
 }





More information about the llvm-commits mailing list