diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-07-24 04:38:13 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-07-24 04:38:13 +0000 |
commit | f7beb2cc1f80052384e5b6853143bfdcff53df91 (patch) | |
tree | 8af06feb58fa85c49787ca362f2917cde66b0029 /lib/Target/CppBackend | |
parent | 3af1c9d3343357849f19f7467f9c16220ad37ca4 (diff) | |
download | external_llvm-f7beb2cc1f80052384e5b6853143bfdcff53df91.zip external_llvm-f7beb2cc1f80052384e5b6853143bfdcff53df91.tar.gz external_llvm-f7beb2cc1f80052384e5b6853143bfdcff53df91.tar.bz2 |
Fix aliases for shrd/shld to handle Intel syntax properly. Also suppress them from being used by the asm printer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CppBackend')
-rw-r--r-- | lib/Target/CppBackend/CPPBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CppBackend/CPPBackend.cpp b/lib/Target/CppBackend/CPPBackend.cpp index 3e69098..0ddcad2 100644 --- a/lib/Target/CppBackend/CPPBackend.cpp +++ b/lib/Target/CppBackend/CPPBackend.cpp @@ -1832,7 +1832,7 @@ void CppWriter::printInline(const std::string& fname, unsigned arg_count = 1; for (Function::const_arg_iterator AI = F->arg_begin(), AE = F->arg_end(); AI != AE; ++AI) { - Out << ", Value* arg_" << arg_count; + Out << ", Value* arg_" << arg_count++; } Out << ") {"; nl(Out); |