| Age | Commit message (Collapse) | Author |
|
|
|
Do not assume that significand of `double` is larger than `mrb_int`.
|
|
Fixes a number of "comparison between signed and unsigned" warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
close #712
|
|
|
|
When "unless" is used without "else", tree->cdr->car of NODE_IF is NULL.
In this case, pop() should not be called because codegen generates no code.
|
|
|
|
|
|
|
|
|
|
|
|
index directly
|
|
|
|
|
|
Potential memory management bug (issue #553)
|
|
|
|
|
|
|
|
|
|
|
|
Commit #18dd60c causes side effects.
This patch fixes stack underflow in scope_body().
|
|
Because the tree is gone pop() even if it is empty.
|
|
define convert method mrb_int/mrb_float with C string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|