From: Andrew Trick Date: Mon, 11 Nov 2013 22:40:22 +0000 (+0000) Subject: Print new JavaScript calling conventions symbolically. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5a34980b4e0a60d39ad3acb9dd467b74ce2d830d;p=oota-llvm.git Print new JavaScript calling conventions symbolically. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194427 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/IR/AsmWriter.cpp b/lib/IR/AsmWriter.cpp index c6839b05a1d..7decffd0eff 100644 --- a/lib/IR/AsmWriter.cpp +++ b/lib/IR/AsmWriter.cpp @@ -74,6 +74,8 @@ static void PrintCallingConv(unsigned cc, raw_ostream &Out) { default: Out << "cc" << cc; break; case CallingConv::Fast: Out << "fastcc"; break; case CallingConv::Cold: Out << "coldcc"; break; + case CallingConv::WebKit_JS: Out << "webkit_jscc"; break; + case CallingConv::AnyReg: Out << "anyregcc"; break; case CallingConv::X86_StdCall: Out << "x86_stdcallcc"; break; case CallingConv::X86_FastCall: Out << "x86_fastcallcc"; break; case CallingConv::X86_ThisCall: Out << "x86_thiscallcc"; break;