change return value from mrb_generate_code()
codedump() to take irep structure
remove scope->idx
Added support for Random as an argument to shuffle and shuffle!. Refactored random gem to use DATA instance type and hold mt_state inside the DATA_PTR instead of in an instance variable.
Merge pull request #1560 from 3miliano/master

Added support for Random as an argument to shuffle and shuffle!
Merge branch 'master' of github.com:mruby/mruby
small style fix
mrbc: add line break for -c option
introduce mrb_context_run()

currently there are two scnenario to call mrb_run(), the first is
calling a proc, in this case mrb should create a new environment,
discarding all the variables except args, reciever and block.

the second is calling the newly generated irep, like in mirb.
in this case, the variables should be kept after mrb_run().
so we introduce mrb_context_run() to handle this seperately.
refactor mrb_context_run()
mirb: reset stack in the first command
Merge pull request #1562 from takahashim/mrbc-add-newline

mrbc: add line break for -c option, like other options
Merge branch 'master' of github.com:mruby/mruby
add Fiber.current
resolved conflicts and updated to latest return value change of mrb_generate_code()
modified to use irep->reps to reference child ireps.  preparation for
removing irep array from mrb_state.  note that instructions OP_LAMBDA,
OP_EXEC and OP_EPUSH are incompatible, and dumped mrb format has changed.
irep->pool not to be GCed
forgot to free irep->reps
create Proc object before releasing memory pool
wrong return value from read_lineno_record()