summaryrefslogtreecommitdiff
path: root/regint.h
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2021-02-03 15:29:26 +0900
committerKoichi Sasada <ko1@atdot.net>2021-02-03 17:28:12 +0900
commit583f364f7187337b284061b78a47b29875398e33 (patch)
treeeb3848f5f36a7e34f59c0a303b698a44a51a4bd9 /regint.h
parentf600226fb4ad7e3faa9a184bfe9b2de6404551f3 (diff)
downloadruby-583f364f7187337b284061b78a47b29875398e33.tar.gz
use goto intead of recursion on vm_call0_body()
"alias" type method entries can chain another aliased method so that machine stack can be overflow on nested alias chain. http://ci.rvm.jp/results/trunk-repeat20@phosphorus-docker/3344209 This patch fix this issue by use goto instead of recursion if possible. TODO: Essentially, the alias method should not points another aliased method entry. Try to fix it later.
Diffstat (limited to 'regint.h')
0 files changed, 0 insertions, 0 deletions