aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Function.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-07-27 12:58:54 +0000
committerDuncan Sands <baldrick@free.fr>2007-07-27 12:58:54 +0000
commit38947cd9adc03b30ff6d50d97279421c63b6f2f2 (patch)
treea43e609dd0de1b138d3245ac390527372b3f591c /lib/VMCore/Function.cpp
parented37973fd1a1c3ec69d3d99dccbc594c9039b08b (diff)
downloadexternal_llvm-38947cd9adc03b30ff6d50d97279421c63b6f2f2.zip
external_llvm-38947cd9adc03b30ff6d50d97279421c63b6f2f2.tar.gz
external_llvm-38947cd9adc03b30ff6d50d97279421c63b6f2f2.tar.bz2
Support for trampolines, except for X86 codegen which is
still under discussion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40549 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r--lib/VMCore/Function.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp
index dd78196..1374d55 100644
--- a/lib/VMCore/Function.cpp
+++ b/lib/VMCore/Function.cpp
@@ -105,6 +105,8 @@ ParamAttrsList::getParamAttrsText(uint16_t Attrs) {
Result += "sret ";
if (Attrs & ParamAttr::ByVal)
Result += "byval ";
+ if (Attrs & ParamAttr::Nest)
+ Result += "nest ";
return Result;
}