diff --git a/clang/lib/AST/Interp/ByteCodeExprGen.cpp b/clang/lib/AST/Interp/ByteCodeExprGen.cpp index d0980882f402b..e6b3097a80d8f 100644 --- a/clang/lib/AST/Interp/ByteCodeExprGen.cpp +++ b/clang/lib/AST/Interp/ByteCodeExprGen.cpp @@ -563,8 +563,8 @@ bool ByteCodeExprGen::VisitLogicalBinOp(const BinaryOperator *E) { template bool ByteCodeExprGen::VisitComplexBinOp(const BinaryOperator *E) { - // FIXME: We expect a pointer on the stack here. - // we should not do that, but that's part of a bigger rework. + assert(Initializing); + const Expr *LHS = E->getLHS(); const Expr *RHS = E->getRHS(); PrimType LHSElemT = *this->classifyComplexElementType(LHS->getType());