forked from OSchip/llvm-project
Fixup D123950 to address revert of D123345
Since D123345 got reverted Builtin::BIaddressof and Builtin::BI__addressof don't exist and cause build breaks.
This commit is contained in:
parent
7d6716786f
commit
aa643f455a
|
@ -1175,8 +1175,6 @@ Address CodeGenFunction::EmitPointerWithAlignment(const Expr *E,
|
||||||
switch (Call->getBuiltinCallee()) {
|
switch (Call->getBuiltinCallee()) {
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
case Builtin::BIaddressof:
|
|
||||||
case Builtin::BI__addressof:
|
|
||||||
case Builtin::BI__builtin_addressof: {
|
case Builtin::BI__builtin_addressof: {
|
||||||
LValue LV = EmitLValue(Call->getArg(0));
|
LValue LV = EmitLValue(Call->getArg(0));
|
||||||
if (BaseInfo) *BaseInfo = LV.getBaseInfo();
|
if (BaseInfo) *BaseInfo = LV.getBaseInfo();
|
||||||
|
|
Loading…
Reference in New Issue