mrubyを超漢字で動作させる
Revisão | 614927447a233abe7ae2bf8ce0150b7a7d214137 (tree) |
---|---|
Hora | 2015-10-27 01:06:15 |
Autor | Yukihiro "Matz" Matsumoto <matz@ruby...> |
Commiter | Yukihiro "Matz" Matsumoto |
mrb_str_concat() may call VM resursively thus may reallocate VM stack; close #3000
@@ -2178,6 +2178,7 @@ RETRY_TRY_BLOCK: | ||
2178 | 2178 | CASE(OP_STRCAT) { |
2179 | 2179 | /* A B R(A).concat(R(B)) */ |
2180 | 2180 | mrb_str_concat(mrb, regs[GETARG_A(i)], regs[GETARG_B(i)]); |
2181 | + regs = mrb->c->stack; | |
2181 | 2182 | NEXT; |
2182 | 2183 | } |
2183 | 2184 |