mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-10-25 03:03:31 +00:00
[ms-inline asm] Add support for the nsdialect keyword in the Bitcode
Reader/Writer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163185 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
71f359a876
commit
f16ae58891
3 files changed
+33
-4
No files matched your search
@@ -814,7 +814,8 @@ static void WriteConstants(unsigned FirstVal, unsigned LastVal,
|
||||
|
||||
if (const InlineAsm *IA = dyn_cast<InlineAsm>(V)) {
|
||||
Record.push_back(unsigned(IA->hasSideEffects()) |
|
||||
unsigned(IA->isAlignStack()) << 1);
|
||||
unsigned(IA->isAlignStack()) << 1 |
|
||||
unsigned(IA->getDialect()&1) << 2);
|
||||
|
||||
// Add the asm string.
|
||||
const std::string &AsmStr = IA->getAsmString();
|
||||
|
||||
Reference in new issue
Block a user