mruby/mruby — pull request #493 by sogabe (2012-10-17 06:30:49+00:00)
Title: Fix disappearance of a local variable when return statement is called

Commit of #18dd60c causes disappearance of a local variable
if return statement is called without arguments.

This patch fixes incorrect value of stack pointer.

test program:
def test_return_cond
return if nil
obj = 123
p obj
p obj.class
end
test_return_cond

output(commit #18dd60c):
main
Object

output(includes this patch):
123
Fixnum