{"action":"created","issue":{"url":"https://api.github.com/repos/Samsung/jerryscript/issues/1345","repository_url":"https://api.github.com/repos/Samsung/jerryscript","labels_url":"https://api.github.com/repos/Samsung/jerryscript/issues/1345/labels{/name}","comments_url":"https://api.github.com/repos/Samsung/jerryscript/issues/1345/comments","events_url":"https://api.github.com/repos/Samsung/jerryscript/issues/1345/events","html_url":"https://github.com/Samsung/jerryscript/pull/1345","id":176534308,"number":1345,"title":"fix bug in vm call_stack_size calculation","user":{"login":"jiangzidong","id":15059452,"avatar_url":"https://avatars.githubusercontent.com/u/15059452?v=3","gravatar_id":"","url":"https://api.github.com/users/jiangzidong","html_url":"https://github.com/jiangzidong","followers_url":"https://api.github.com/users/jiangzidong/followers","following_url":"https://api.github.com/users/jiangzidong/following{/other_user}","gists_url":"https://api.github.com/users/jiangzidong/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangzidong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangzidong/subscriptions","organizations_url":"https://api.github.com/users/jiangzidong/orgs","repos_url":"https://api.github.com/users/jiangzidong/repos","events_url":"https://api.github.com/users/jiangzidong/events{/privacy}","received_events_url":"https://api.github.com/users/jiangzidong/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Samsung/jerryscript/labels/bug","name":"bug","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-09-13T02:41:47Z","updated_at":"2016-09-13T11:10:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Samsung/jerryscript/pulls/1345","html_url":"https://github.com/Samsung/jerryscript/pull/1345","diff_url":"https://github.com/Samsung/jerryscript/pull/1345.diff","patch_url":"https://github.com/Samsung/jerryscript/pull/1345.patch"},"body":"call_stack_size = args_p->register_end + args_p->stack_limit\r\n\r\nWhile in `parser_post_processing`, \r\nit already has `args_p->stack_limit = (uint8_t) (context_p->register_count + context_p->stack_limit);`\r\n\r\nSo `context_p->register_count` is added twice in `call_stack_size`. I think it is a bug (leads vm easily choose vm_run_with_alloca )\r\n"},"comment":{"url":"https://api.github.com/repos/Samsung/jerryscript/issues/comments/246648962","html_url":"https://github.com/Samsung/jerryscript/pull/1345#issuecomment-246648962","issue_url":"https://api.github.com/repos/Samsung/jerryscript/issues/1345","id":246648962,"user":{"login":"jiangzidong","id":15059452,"avatar_url":"https://avatars.githubusercontent.com/u/15059452?v=3","gravatar_id":"","url":"https://api.github.com/users/jiangzidong","html_url":"https://github.com/jiangzidong","followers_url":"https://api.github.com/users/jiangzidong/followers","following_url":"https://api.github.com/users/jiangzidong/following{/other_user}","gists_url":"https://api.github.com/users/jiangzidong/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangzidong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangzidong/subscriptions","organizations_url":"https://api.github.com/users/jiangzidong/orgs","repos_url":"https://api.github.com/users/jiangzidong/repos","events_url":"https://api.github.com/users/jiangzidong/events{/privacy}","received_events_url":"https://api.github.com/users/jiangzidong/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T11:10:39Z","updated_at":"2016-09-13T11:10:39Z","body":"Oh, I forget the issue of snapshot version and compatibility. "}}
{"actor":{"display_login":"jiangzidong"}}