C++: Add a placeholder for 'getOpcode'.

This commit is contained in:
Mathias Vorreiter Pedersen
2024-04-11 15:27:38 +01:00
parent 33364a8ab6
commit d030f0b5d2

View File

@@ -1276,6 +1276,9 @@ class TranslatedUnaryExpr extends TranslatedSingleInstructionExpr {
expr instanceof UnaryPlusExpr and result instanceof Opcode::CopyValue
or
expr instanceof UnaryMinusExpr and result instanceof Opcode::Negate
or
// TODO: Use a new opcode to represent "awaiting the value"
expr instanceof CoAwaitExpr and result instanceof Opcode::CopyValue
}
private TranslatedExpr getOperand() {