C++: Mark 'CoAwaitExpr' as a unary expression in IR construction.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-04-11 13:29:20 +01:00
parent 161f586510
commit 4c4d2415e9

View File

@@ -1235,7 +1235,8 @@ class TranslatedUnaryExpr extends TranslatedSingleInstructionExpr {
expr instanceof NotExpr or
expr instanceof ComplementExpr or
expr instanceof UnaryPlusExpr or
expr instanceof UnaryMinusExpr
expr instanceof UnaryMinusExpr or
expr instanceof CoAwaitExpr
}
final override Instruction getFirstInstruction(EdgeKind kind) {