Modify generate code according to original mruby VM