[LANG] Add support for PREFIX_INC and PREFIX_DEC.

This commit is contained in:
Yan Da
2020-12-09 12:35:24 +08:00
committed by Philippe Tillet
parent fd5c72d6a0
commit 05b95b7fa6
2 changed files with 34 additions and 4 deletions

View File

@@ -48,6 +48,7 @@ protected:
void set_ret(ir::value* value);
ir::value *GenUnaryMinus(ir::value* arg);
ir::value *GenUnaryInc(UnaryOp* arg, bool is_postfix, bool is_inc);
public:
Generator(Parser* parser) : parser_(parser) {}