Preallocate SystemStackError; ref #3421

This commit is contained in:
Yukihiro "Matz" Matsumoto
2017-02-15 11:59:47 +09:00
parent 0376d4d4c6
commit 8efa7b00df
5 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -263,7 +263,7 @@ mrb_print_backtrace(mrb_state *mrb)
{
mrb_value backtrace;
if (!mrb->exc || mrb_obj_is_kind_of(mrb, mrb_obj_value(mrb->exc), E_SYSSTACK_ERROR)) {
if (!mrb->exc) {
return;
}