bootstrap codegen: basic implementation of local vars