private void Increment(Symbol symbol) { EmitLoadSymbol(symbol, SymbolLoadMode.Raw); bool byRef = symbol.Type.IsByRef; if (byRef) { MethodGenerator.Dup(); MethodGenerator.Load(IrisType.Integer); } MethodGenerator.PushIntConst(1); MethodGenerator.Operator(Operator.Add); if (byRef) { MethodGenerator.Store(IrisType.Integer); } else { EmitStoreSymbol(symbol); } }