• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

mrubyを超漢字で動作させる


Commit MetaInfo

Revisão614927447a233abe7ae2bf8ce0150b7a7d214137 (tree)
Hora2015-10-27 01:06:15
AutorYukihiro "Matz" Matsumoto <matz@ruby...>
CommiterYukihiro "Matz" Matsumoto

Mensagem de Log

mrb_str_concat() may call VM resursively thus may reallocate VM stack; close #3000

Mudança Sumário

Diff

--- a/src/vm.c
+++ b/src/vm.c
@@ -2178,6 +2178,7 @@ RETRY_TRY_BLOCK:
21782178 CASE(OP_STRCAT) {
21792179 /* A B R(A).concat(R(B)) */
21802180 mrb_str_concat(mrb, regs[GETARG_A(i)], regs[GETARG_B(i)]);
2181+ regs = mrb->c->stack;
21812182 NEXT;
21822183 }
21832184