HHVM calling conventions.
[oota-llvm.git] / lib / IR / AsmWriter.cpp
index 7731d332a6559becfd8d2295289cc75a73b42fd6..b4d7a660688da9ea90becb7930c2167ce2b40175 100644 (file)
@@ -319,6 +319,8 @@ static void PrintCallingConv(unsigned cc, raw_ostream &Out) {
   case CallingConv::X86_64_Win64:  Out << "x86_64_win64cc"; break;
   case CallingConv::SPIR_FUNC:     Out << "spir_func"; break;
   case CallingConv::SPIR_KERNEL:   Out << "spir_kernel"; break;
+  case CallingConv::HHVM:          Out << "hhvmcc"; break;
+  case CallingConv::HHVM_C:        Out << "hhvm_ccc"; break;
   }
 }