mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 03:29:57 +00:00
Initialize.
llvm-svn: 48253
This commit is contained in:
parent
20af5a0fe7
commit
f6269f0914
@ -213,7 +213,7 @@ Function *SRETPromotion::cloneFunctionBody(Function *F,
|
||||
unsigned ParamIndex = 1; // 0th parameter attribute is reserved for return type.
|
||||
while (I != E) {
|
||||
Params.push_back(I->getType());
|
||||
ParameterAttributes Attrs;
|
||||
ParameterAttributes Attrs = ParamAttr::None;
|
||||
if (PAL) {
|
||||
Attrs = PAL->getParamAttrs(ParamIndex);
|
||||
if (ParamIndex == 1) // Skip sret attribute
|
||||
@ -272,7 +272,7 @@ void SRETPromotion::updateCallSites(Function *F, Function *NF) {
|
||||
unsigned ParamIndex = 1; // 0th parameter attribute is reserved for return type.
|
||||
while (AI != AE) {
|
||||
Args.push_back(*AI);
|
||||
ParameterAttributes Attrs;
|
||||
ParameterAttributes Attrs = ParamAttr::None;
|
||||
if (PAL) {
|
||||
Attrs = PAL->getParamAttrs(ParamIndex);
|
||||
if (ParamIndex == 1) // Skip sret attribute
|
||||
|
Loading…
Reference in New Issue
Block a user