mruby/mruby — pull request #1835 by take-cheeze (2014-03-08 22:58:26+00:00)
Title: Support private and protected visibility.

* This will break compatibility with old mruby irep since opcode `OP_FSEND` and `OP_FSENDB` that won't be supported by old VM would be used to check private call.
* `mrb_call_type` would be stored to `struct RClass` and `struct RProc` in 10th and 11th bit of `flags` using `0x600` bit mask. `RClass`'s `mrb_call_type` flags would be cleared if class scope is opened.
* Method such as `private_instance_methods` and `protected_instance_methods` isn't implemented yet.