Fixes #688 : OCallMethod obj f args where obj is also in args list. Inspired by OCallClosure.
Haxe compiler does not generated this bytecode in most cases, so I choose to keep the o->value hack if the new logic is not necessary.
I also tested when using only the new logic (keep o->value in R(f->nregs)) and it seems to work fine.
Fixes #688 :
OCallMethod obj f args
where obj is also in args list. Inspired by OCallClosure. Haxe compiler does not generated this bytecode in most cases, so I choose to keep the o->value hack if the new logic is not necessary.I also tested when using only the new logic (keep o->value in R(f->nregs)) and it seems to work fine.