aboutsummaryrefslogtreecommitdiff
path: root/lib/AST/MicrosoftMangle.cpp
diff options
context:
space:
mode:
authorTilmann Scheller <tilmann.scheller@googlemail.com>2011-03-02 19:36:23 +0000
committerTilmann Scheller <tilmann.scheller@googlemail.com>2011-03-02 19:36:23 +0000
commit88d117c2eedd7c5bec57ac983a98d5e12bdd2cc6 (patch)
tree8ffc9cc441cf35e4ac650b20dde423ebe58a8641 /lib/AST/MicrosoftMangle.cpp
parentc314aa484524c6a310a51e7b83bc194774e95e90 (diff)
Add CC_Win64ThisCall and set it in the necessary places.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/MicrosoftMangle.cpp')
-rw-r--r--lib/AST/MicrosoftMangle.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/AST/MicrosoftMangle.cpp b/lib/AST/MicrosoftMangle.cpp
index 4bf7f23a0a..f5bdd4b537 100644
--- a/lib/AST/MicrosoftMangle.cpp
+++ b/lib/AST/MicrosoftMangle.cpp
@@ -879,6 +879,9 @@ void MicrosoftCXXNameMangler::mangleCallingConvention(const FunctionType *T,
case CC_X86ThisCall: Out << 'E'; break;
case CC_X86StdCall: Out << 'G'; break;
case CC_X86FastCall: Out << 'I'; break;
+ case CC_Win64ThisCall:
+ assert(false && "Don't know how to mangle Win64 thiscall cc yet!");
+ break;
}
}
void MicrosoftCXXNameMangler::mangleThrowSpecification(