{"action":"created","issue":{"url":"https://api.github.com/repos/WebAssembly/v8-native-prototype/issues/18","labels_url":"https://api.github.com/repos/WebAssembly/v8-native-prototype/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/WebAssembly/v8-native-prototype/issues/18/comments","events_url":"https://api.github.com/repos/WebAssembly/v8-native-prototype/issues/18/events","html_url":"https://github.com/WebAssembly/v8-native-prototype/issues/18","id":109394131,"number":18,"title":"Check failed: effect_count == control->op()->ControlInputCount() (1 vs. 2)","user":{"login":"binji","id":1245315,"avatar_url":"https://avatars.githubusercontent.com/u/1245315?v=3","gravatar_id":"","url":"https://api.github.com/users/binji","html_url":"https://github.com/binji","followers_url":"https://api.github.com/users/binji/followers","following_url":"https://api.github.com/users/binji/following{/other_user}","gists_url":"https://api.github.com/users/binji/gists{/gist_id}","starred_url":"https://api.github.com/users/binji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binji/subscriptions","organizations_url":"https://api.github.com/users/binji/orgs","repos_url":"https://api.github.com/users/binji/repos","events_url":"https://api.github.com/users/binji/events{/privacy}","received_events_url":"https://api.github.com/users/binji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-01T22:02:42Z","updated_at":"2015-10-02T18:05:21Z","closed_at":null,"body":"minimized test case that produces the given error:\r\n```\r\n(module\r\n  (func\r\n    (loop (i32.load (i32.const 0)))))\r\n```\r\nError given:\r\n```\r\n#\r\n# Fatal error in ../../src/compiler/verifier.cc, line 406\r\n# Check failed: effect_count == control->op()->ControlInputCount() (1 vs. 2).\r\n#\r\n```\r\nByte sequence:\r\n```\r\nvar m = createModule([\r\n    0,   1,   0,   0,   1,   0,   0,   0,   0,   0,   0,   0,   0,   0,  32,   0,\r\n    0,   0,  38,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,\r\n    6,   1,  32,   6,  16,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,   0,\r\n]);\r\n```"},"comment":{"url":"https://api.github.com/repos/WebAssembly/v8-native-prototype/issues/comments/145107568","html_url":"https://github.com/WebAssembly/v8-native-prototype/issues/18#issuecomment-145107568","issue_url":"https://api.github.com/repos/WebAssembly/v8-native-prototype/issues/18","id":145107568,"user":{"login":"titzer","id":12184276,"avatar_url":"https://avatars.githubusercontent.com/u/12184276?v=3","gravatar_id":"","url":"https://api.github.com/users/titzer","html_url":"https://github.com/titzer","followers_url":"https://api.github.com/users/titzer/followers","following_url":"https://api.github.com/users/titzer/following{/other_user}","gists_url":"https://api.github.com/users/titzer/gists{/gist_id}","starred_url":"https://api.github.com/users/titzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/titzer/subscriptions","organizations_url":"https://api.github.com/users/titzer/orgs","repos_url":"https://api.github.com/users/titzer/repos","events_url":"https://api.github.com/users/titzer/events{/privacy}","received_events_url":"https://api.github.com/users/titzer/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T18:05:21Z","updated_at":"2015-10-02T18:05:21Z","body":"Fixed by https://github.com/WebAssembly/v8-native-prototype/commit/9cd7bde9ecba32ac52e849936073e7a2f4d26e68"}}