diff options
Diffstat (limited to 'lib/CodeGen/ShadowStackGC.cpp')
-rw-r--r-- | lib/CodeGen/ShadowStackGC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/ShadowStackGC.cpp b/lib/CodeGen/ShadowStackGC.cpp index cf0e6ddbae..0576228bd2 100644 --- a/lib/CodeGen/ShadowStackGC.cpp +++ b/lib/CodeGen/ShadowStackGC.cpp @@ -162,7 +162,7 @@ namespace { Args.begin(), Args.end(), CI->getName(), CallBB); II->setCallingConv(CI->getCallingConv()); - II->setParamAttrs(CI->getParamAttrs()); + II->setAttributes(CI->getAttributes()); CI->replaceAllUsesWith(II); delete CI; } |