summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGCall.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2011-02-16 01:11:51 +0000
committerDevang Patel <dpatel@apple.com>2011-02-16 01:11:51 +0000
commit25468059e563b4c68062d931b8493b2f0c0b17ec (patch)
treec731bf9c36ad1d24358b868ea2fb96eebfead223 /clang/lib/CodeGen/CGCall.cpp
parentef72141a75769e7d0111f417b91931a74ec2c1a3 (diff)
downloadbcm5719-llvm-25468059e563b4c68062d931b8493b2f0c0b17ec.tar.gz
bcm5719-llvm-25468059e563b4c68062d931b8493b2f0c0b17ec.zip
Simplify test to check an aggregate argument that has non trivial constructor or destructor.
This patch rewrites r125142. llvm-svn: 125632
Diffstat (limited to 'clang/lib/CodeGen/CGCall.cpp')
-rw-r--r--clang/lib/CodeGen/CGCall.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index 11eeecba60b..ae84b6196df 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -898,7 +898,7 @@ void CodeGenFunction::EmitFunctionProlog(const CGFunctionInfo &FI,
V = EmitScalarConversion(V, Ty, Arg->getType());
}
}
- EmitParmDecl(*Arg, V, true /*ABIArgInfo::Indirect*/);
+ EmitParmDecl(*Arg, V);
break;
}
OpenPOWER on IntegriCloud