insert inc and dec instructions

This commit is contained in:
Folkert 2020-07-26 16:31:46 +02:00
parent fc52bdc59a
commit b716636db0
2 changed files with 37 additions and 4 deletions

View file

@ -717,6 +717,9 @@ pub fn build_expr<'a, 'ctx, 'env>(
todo!("LLVM build runtime error of {:?}", expr);
}
RunLowLevel(op, args) => run_low_level(env, layout_ids, scope, parent, *op, args),
IncBefore(_, expr) => build_expr(env, layout_ids, scope, parent, expr),
DecAfter(_, expr) => build_expr(env, layout_ids, scope, parent, expr),
}
}