diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2007-07-06 10:57:03 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2007-07-06 10:57:03 +0000 |
commit | 1aa7efbd2c98e761f50992197473304b99257ca9 (patch) | |
tree | ef01e24db9a8f28dc6da9d24dbd936e1bff0194f /utils/TableGen/CallingConvEmitter.cpp | |
parent | aa6b7fd5ec21855bc712de4c73b60b9580406227 (diff) |
Add the byval attribute
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CallingConvEmitter.cpp')
-rw-r--r-- | utils/TableGen/CallingConvEmitter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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!"; } } } - |