forked from OSchip/llvm-project
parent
0e4b101222
commit
527473df0d
|
@ -1086,7 +1086,7 @@ EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E) {
|
|||
}
|
||||
|
||||
LValue CodeGenFunction::
|
||||
EmitScalarCompooundAssignWithComplex(const CompoundAssignOperator *E,
|
||||
EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E,
|
||||
llvm::Value *&Result) {
|
||||
CompoundFunc Op = getComplexOp(E->getOpcode());
|
||||
RValue Val;
|
||||
|
|
|
@ -2056,7 +2056,7 @@ LValue ScalarExprEmitter::EmitCompoundAssignLValue(
|
|||
BinOpInfo OpInfo;
|
||||
|
||||
if (E->getComputationResultType()->isAnyComplexType())
|
||||
return CGF.EmitScalarCompooundAssignWithComplex(E, Result);
|
||||
return CGF.EmitScalarCompoundAssignWithComplex(E, Result);
|
||||
|
||||
// Emit the RHS first. __block variables need to have the rhs evaluated
|
||||
// first, plus this should improve codegen a little.
|
||||
|
|
|
@ -2224,7 +2224,7 @@ public:
|
|||
/// Emit an l-value for an assignment (simple or compound) of complex type.
|
||||
LValue EmitComplexAssignmentLValue(const BinaryOperator *E);
|
||||
LValue EmitComplexCompoundAssignmentLValue(const CompoundAssignOperator *E);
|
||||
LValue EmitScalarCompooundAssignWithComplex(const CompoundAssignOperator *E,
|
||||
LValue EmitScalarCompoundAssignWithComplex(const CompoundAssignOperator *E,
|
||||
llvm::Value *&Result);
|
||||
|
||||
// Note: only available for agg return types
|
||||
|
|
Loading…
Reference in New Issue