diff options
author | Chad Rosier <mcrosier@apple.com> | 2012-09-05 19:00:49 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2012-09-05 19:00:49 +0000 |
commit | 581600bfc3060ee13afb278cd87e25da5b5f7db2 (patch) | |
tree | 1136bdd2faa7d5f5514193d9ca9c4f1138b62cef /lib/VMCore/ConstantsContext.h | |
parent | 7bebddf55ece46995f310d79195afb4e5b239886 (diff) | |
download | external_llvm-581600bfc3060ee13afb278cd87e25da5b5f7db2.zip external_llvm-581600bfc3060ee13afb278cd87e25da5b5f7db2.tar.gz external_llvm-581600bfc3060ee13afb278cd87e25da5b5f7db2.tar.bz2 |
[ms-inline asm] Enumerate the InlineAsm dialects and rename the nsdialect to
inteldialect.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163231 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/ConstantsContext.h')
-rw-r--r-- | lib/VMCore/ConstantsContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/ConstantsContext.h b/lib/VMCore/ConstantsContext.h index ddd680a..0f81b3e 100644 --- a/lib/VMCore/ConstantsContext.h +++ b/lib/VMCore/ConstantsContext.h @@ -352,7 +352,7 @@ struct ExprMapKeyType { struct InlineAsmKeyType { InlineAsmKeyType(StringRef AsmString, StringRef Constraints, bool hasSideEffects, - bool isAlignStack, unsigned asmDialect) + bool isAlignStack, InlineAsm::AsmDialect asmDialect) : asm_string(AsmString), constraints(Constraints), has_side_effects(hasSideEffects), is_align_stack(isAlignStack), asm_dialect(asmDialect) {} @@ -360,7 +360,7 @@ struct InlineAsmKeyType { std::string constraints; bool has_side_effects; bool is_align_stack; - unsigned asm_dialect; + InlineAsm::AsmDialect asm_dialect; bool operator==(const InlineAsmKeyType& that) const { return this->asm_string == that.asm_string && this->constraints == that.constraints && |