{"action":"opened","number":893,"pull_request":{"url":"https://api.github.com/repos/Microsoft/ChakraCore/pulls/893","id":68409279,"html_url":"https://github.com/Microsoft/ChakraCore/pull/893","diff_url":"https://github.com/Microsoft/ChakraCore/pull/893.diff","patch_url":"https://github.com/Microsoft/ChakraCore/pull/893.patch","issue_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/893","number":893,"state":"open","locked":false,"title":"Fixing bug with hoisting a type check bailout","user":{"login":"rajatd","id":15348123,"avatar_url":"https://avatars.githubusercontent.com/u/15348123?v=3","gravatar_id":"","url":"https://api.github.com/users/rajatd","html_url":"https://github.com/rajatd","followers_url":"https://api.github.com/users/rajatd/followers","following_url":"https://api.github.com/users/rajatd/following{/other_user}","gists_url":"https://api.github.com/users/rajatd/gists{/gist_id}","starred_url":"https://api.github.com/users/rajatd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajatd/subscriptions","organizations_url":"https://api.github.com/users/rajatd/orgs","repos_url":"https://api.github.com/users/rajatd/repos","events_url":"https://api.github.com/users/rajatd/events{/privacy}","received_events_url":"https://api.github.com/users/rajatd/received_events","type":"User","site_admin":false},"body":"For a type check bailout (could be on a LdFld, CheckFixedFld, CheckObjType) hoisted out from an inlinee to outside the loop containing the inlinee, the polymorphicCacheIndex on the bailout record associated with the type check is set from the inlinee while the bailout itself is marked to be from the inliner. Both these things are fine on their own but cause problems when in conjunction. The inline cache index set on the bailout record (from the inlinee) might not be in the range of inline cache indices on the inliner function body. \r\nFIxing this by, on the bailout path, setting the correct function body on the bailout record for a shared bailout","created_at":"2016-04-29T17:55:01Z","updated_at":"2016-04-29T17:55:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/ChakraCore/pulls/893/commits","review_comments_url":"https://api.github.com/repos/Microsoft/ChakraCore/pulls/893/comments","review_comment_url":"https://api.github.com/repos/Microsoft/ChakraCore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/893/comments","statuses_url":"https://api.github.com/repos/Microsoft/ChakraCore/statuses/2d49c02ac8d1dbf6517c1c108e6773d63b2b535d","head":{"label":"rajatd:polyIndexInlinee-2","ref":"polyIndexInlinee-2","sha":"2d49c02ac8d1dbf6517c1c108e6773d63b2b535d","user":{"login":"rajatd","id":15348123,"avatar_url":"https://avatars.githubusercontent.com/u/15348123?v=3","gravatar_id":"","url":"https://api.github.com/users/rajatd","html_url":"https://github.com/rajatd","followers_url":"https://api.github.com/users/rajatd/followers","following_url":"https://api.github.com/users/rajatd/following{/other_user}","gists_url":"https://api.github.com/users/rajatd/gists{/gist_id}","starred_url":"https://api.github.com/users/rajatd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajatd/subscriptions","organizations_url":"https://api.github.com/users/rajatd/orgs","repos_url":"https://api.github.com/users/rajatd/repos","events_url":"https://api.github.com/users/rajatd/events{/privacy}","received_events_url":"https://api.github.com/users/rajatd/received_events","type":"User","site_admin":false},"repo":{"id":49607902,"name":"ChakraCore","full_name":"rajatd/ChakraCore","owner":{"login":"rajatd","id":15348123,"avatar_url":"https://avatars.githubusercontent.com/u/15348123?v=3","gravatar_id":"","url":"https://api.github.com/users/rajatd","html_url":"https://github.com/rajatd","followers_url":"https://api.github.com/users/rajatd/followers","following_url":"https://api.github.com/users/rajatd/following{/other_user}","gists_url":"https://api.github.com/users/rajatd/gists{/gist_id}","starred_url":"https://api.github.com/users/rajatd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rajatd/subscriptions","organizations_url":"https://api.github.com/users/rajatd/orgs","repos_url":"https://api.github.com/users/rajatd/repos","events_url":"https://api.github.com/users/rajatd/events{/privacy}","received_events_url":"https://api.github.com/users/rajatd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rajatd/ChakraCore","description":"ChakraCore is the core part of the Chakra Javascript engine that powers Microsoft Edge","fork":true,"url":"https://api.github.com/repos/rajatd/ChakraCore","forks_url":"https://api.github.com/repos/rajatd/ChakraCore/forks","keys_url":"https://api.github.com/repos/rajatd/ChakraCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rajatd/ChakraCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rajatd/ChakraCore/teams","hooks_url":"https://api.github.com/repos/rajatd/ChakraCore/hooks","issue_events_url":"https://api.github.com/repos/rajatd/ChakraCore/issues/events{/number}","events_url":"https://api.github.com/repos/rajatd/ChakraCore/events","assignees_url":"https://api.github.com/repos/rajatd/ChakraCore/assignees{/user}","branches_url":"https://api.github.com/repos/rajatd/ChakraCore/branches{/branch}","tags_url":"https://api.github.com/repos/rajatd/ChakraCore/tags","blobs_url":"https://api.github.com/repos/rajatd/ChakraCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rajatd/ChakraCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rajatd/ChakraCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/rajatd/ChakraCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rajatd/ChakraCore/statuses/{sha}","languages_url":"https://api.github.com/repos/rajatd/ChakraCore/languages","stargazers_url":"https://api.github.com/repos/rajatd/ChakraCore/stargazers","contributors_url":"https://api.github.com/repos/rajatd/ChakraCore/contributors","subscribers_url":"https://api.github.com/repos/rajatd/ChakraCore/subscribers","subscription_url":"https://api.github.com/repos/rajatd/ChakraCore/subscription","commits_url":"https://api.github.com/repos/rajatd/ChakraCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/rajatd/ChakraCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/rajatd/ChakraCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/rajatd/ChakraCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/rajatd/ChakraCore/contents/{+path}","compare_url":"https://api.github.com/repos/rajatd/ChakraCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rajatd/ChakraCore/merges","archive_url":"https://api.github.com/repos/rajatd/ChakraCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rajatd/ChakraCore/downloads","issues_url":"https://api.github.com/repos/rajatd/ChakraCore/issues{/number}","pulls_url":"https://api.github.com/repos/rajatd/ChakraCore/pulls{/number}","milestones_url":"https://api.github.com/repos/rajatd/ChakraCore/milestones{/number}","notifications_url":"https://api.github.com/repos/rajatd/ChakraCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rajatd/ChakraCore/labels{/name}","releases_url":"https://api.github.com/repos/rajatd/ChakraCore/releases{/id}","deployments_url":"https://api.github.com/repos/rajatd/ChakraCore/deployments","created_at":"2016-01-13T23:02:12Z","updated_at":"2016-01-13T23:02:28Z","pushed_at":"2016-04-29T17:55:01Z","git_url":"git://github.com/rajatd/ChakraCore.git","ssh_url":"git@github.com:rajatd/ChakraCore.git","clone_url":"https://github.com/rajatd/ChakraCore.git","svn_url":"https://github.com/rajatd/ChakraCore","homepage":null,"size":22940,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Microsoft:release/1.2","ref":"release/1.2","sha":"838b864aba08db464a75c6b8962cade63c1e275b","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":49086513,"name":"ChakraCore","full_name":"Microsoft/ChakraCore","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/ChakraCore","description":"ChakraCore is the core part of the Chakra Javascript engine that powers Microsoft Edge","fork":false,"url":"https://api.github.com/repos/Microsoft/ChakraCore","forks_url":"https://api.github.com/repos/Microsoft/ChakraCore/forks","keys_url":"https://api.github.com/repos/Microsoft/ChakraCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/ChakraCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/ChakraCore/teams","hooks_url":"https://api.github.com/repos/Microsoft/ChakraCore/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/ChakraCore/events","assignees_url":"https://api.github.com/repos/Microsoft/ChakraCore/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/ChakraCore/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/ChakraCore/tags","blobs_url":"https://api.github.com/repos/Microsoft/ChakraCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/ChakraCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/ChakraCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/ChakraCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/ChakraCore/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/ChakraCore/languages","stargazers_url":"https://api.github.com/repos/Microsoft/ChakraCore/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/ChakraCore/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/ChakraCore/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/ChakraCore/subscription","commits_url":"https://api.github.com/repos/Microsoft/ChakraCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/ChakraCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/ChakraCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/ChakraCore/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/ChakraCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/ChakraCore/merges","archive_url":"https://api.github.com/repos/Microsoft/ChakraCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/ChakraCore/downloads","issues_url":"https://api.github.com/repos/Microsoft/ChakraCore/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/ChakraCore/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/ChakraCore/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/ChakraCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/ChakraCore/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/ChakraCore/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/ChakraCore/deployments","created_at":"2016-01-05T19:05:31Z","updated_at":"2016-04-29T17:40:19Z","pushed_at":"2016-04-29T17:40:04Z","git_url":"git://github.com/Microsoft/ChakraCore.git","ssh_url":"git@github.com:Microsoft/ChakraCore.git","clone_url":"https://github.com/Microsoft/ChakraCore.git","svn_url":"https://github.com/Microsoft/ChakraCore","homepage":null,"size":32289,"stargazers_count":5161,"watchers_count":5161,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":562,"mirror_url":null,"open_issues_count":133,"forks":562,"open_issues":133,"watchers":5161,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/ChakraCore/pulls/893"},"html":{"href":"https://github.com/Microsoft/ChakraCore/pull/893"},"issue":{"href":"https://api.github.com/repos/Microsoft/ChakraCore/issues/893"},"comments":{"href":"https://api.github.com/repos/Microsoft/ChakraCore/issues/893/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/ChakraCore/pulls/893/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/ChakraCore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/ChakraCore/pulls/893/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/ChakraCore/statuses/2d49c02ac8d1dbf6517c1c108e6773d63b2b535d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":75,"deletions":15,"changed_files":7}}