diff options
author | Ahmed Bougacha <ahmed@bougacha.org> | 2024-05-20 10:23:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-20 10:23:04 -0700 |
commit | 3575d23ca866e0510b322e4520d6cbcebee18c22 (patch) | |
tree | b6f7dd5b8b5f1fe3e1356f660dd8b26edad1ed3e /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 1de1f775b55bb5c4c739e8f7ac78e7f59f2645fb (diff) | |
download | llvm-3575d23ca866e0510b322e4520d6cbcebee18c22.zip llvm-3575d23ca866e0510b322e4520d6cbcebee18c22.tar.gz llvm-3575d23ca866e0510b322e4520d6cbcebee18c22.tar.bz2 |
[clang][CodeGen] Remove unused LValue::getAddress CGF arg. (#92465)
This is in effect a revert of f139ae3d93797, as we have since gained a
more sophisticated way of doing extra IRGen with the addition of
RawAddress in #86923.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 04abdad..f0345f3 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -2478,11 +2478,11 @@ void CodeGenFunction::EmitVariablyModifiedType(QualType type) { Address CodeGenFunction::EmitVAListRef(const Expr* E) { if (getContext().getBuiltinVaListType()->isArrayType()) return EmitPointerWithAlignment(E); - return EmitLValue(E).getAddress(*this); + return EmitLValue(E).getAddress(); } Address CodeGenFunction::EmitMSVAListRef(const Expr *E) { - return EmitLValue(E).getAddress(*this); + return EmitLValue(E).getAddress(); } void CodeGenFunction::EmitDeclRefExprDbgValue(const DeclRefExpr *E, |