From 1aa7efbd2c98e761f50992197473304b99257ca9 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 6 Jul 2007 10:57:03 +0000 Subject: Add the byval attribute git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37940 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/TableGen/CallingConvEmitter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'utils/TableGen/CallingConvEmitter.cpp') diff --git a/utils/TableGen/CallingConvEmitter.cpp b/utils/TableGen/CallingConvEmitter.cpp index ae7dc91fc7..2929aba820 100644 --- a/utils/TableGen/CallingConvEmitter.cpp +++ b/utils/TableGen/CallingConvEmitter.cpp @@ -129,10 +129,11 @@ void CallingConvEmitter::EmitAction(Record *Action, << IndentStr << IndentStr << "LocInfo = CCValAssign::ZExt;\n" << IndentStr << "else\n" << IndentStr << IndentStr << "LocInfo = CCValAssign::AExt;\n"; + } else if (Action->isSubClassOf("CCStructAssign")) { + O << "assert(0 && \"Not Implemented\");\n"; } else { Action->dump(); throw "Unknown CCAction!"; } } } - -- cgit v1.2.3