Make sure to codegen var initializer in a new context and to allocate its variables