{"action":"created","comment":{"url":"https://api.github.com/repos/SDC-Developers/SDC/pulls/comments/43577681","id":43577681,"diff_hunk":"@@ -75,14 +75,29 @@ final class SDC {\n \t\tsemantic.terminate();\n \t\tbackend.visit(semantic.buildMain(modules));\n \t}\n-\t\n-\tvoid codeGen(string objFile) {\n+\n+\tvoid runLLVMPasses() {","path":"sdc/src/sdc/sdc.d","position":7,"original_position":7,"commit_id":"6564d670270477cf2d997ee85fd1f5329a590989","original_commit_id":"6564d670270477cf2d997ee85fd1f5329a590989","user":{"login":"JohanEngelen","id":10983051,"avatar_url":"https://avatars.githubusercontent.com/u/10983051?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanEngelen","html_url":"https://github.com/JohanEngelen","followers_url":"https://api.github.com/users/JohanEngelen/followers","following_url":"https://api.github.com/users/JohanEngelen/following{/other_user}","gists_url":"https://api.github.com/users/JohanEngelen/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanEngelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanEngelen/subscriptions","organizations_url":"https://api.github.com/users/JohanEngelen/orgs","repos_url":"https://api.github.com/users/JohanEngelen/repos","events_url":"https://api.github.com/users/JohanEngelen/events{/privacy}","received_events_url":"https://api.github.com/users/JohanEngelen/received_events","type":"User","site_admin":false},"body":"I can rename `runLLVMPasses` to `codeGen`. I think it is clearest if main.d tells the backend to compile, codegen, and output stuff (instead of have codegen output a file).\r\nTell me how you want it, I have no preference.","created_at":"2015-11-01T00:21:05Z","updated_at":"2015-11-01T00:21:05Z","html_url":"https://github.com/SDC-Developers/SDC/pull/169#discussion_r43577681","pull_request_url":"https://api.github.com/repos/SDC-Developers/SDC/pulls/169","_links":{"self":{"href":"https://api.github.com/repos/SDC-Developers/SDC/pulls/comments/43577681"},"html":{"href":"https://github.com/SDC-Developers/SDC/pull/169#discussion_r43577681"},"pull_request":{"href":"https://api.github.com/repos/SDC-Developers/SDC/pulls/169"}}},"pull_request":{"url":"https://api.github.com/repos/SDC-Developers/SDC/pulls/169","id":48677285,"html_url":"https://github.com/SDC-Developers/SDC/pull/169","diff_url":"https://github.com/SDC-Developers/SDC/pull/169.diff","patch_url":"https://github.com/SDC-Developers/SDC/pull/169.patch","issue_url":"https://api.github.com/repos/SDC-Developers/SDC/issues/169","number":169,"state":"open","locked":false,"title":"Add asm and LLVM IR output cmdline options","user":{"login":"JohanEngelen","id":10983051,"avatar_url":"https://avatars.githubusercontent.com/u/10983051?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanEngelen","html_url":"https://github.com/JohanEngelen","followers_url":"https://api.github.com/users/JohanEngelen/followers","following_url":"https://api.github.com/users/JohanEngelen/following{/other_user}","gists_url":"https://api.github.com/users/JohanEngelen/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanEngelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanEngelen/subscriptions","organizations_url":"https://api.github.com/users/JohanEngelen/orgs","repos_url":"https://api.github.com/users/JohanEngelen/repos","events_url":"https://api.github.com/users/JohanEngelen/events{/privacy}","received_events_url":"https://api.github.com/users/JohanEngelen/received_events","type":"User","site_admin":false},"body":"To help development, add the \"--output-ll\" cmdline option that saves the LLVM IR to a file. The same as LDC's --output-ll option.\r\n","created_at":"2015-10-25T12:14:52Z","updated_at":"2015-11-01T00:21:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7c5a685ab19e99038d86ab7f7b257836308a0bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SDC-Developers/SDC/pulls/169/commits","review_comments_url":"https://api.github.com/repos/SDC-Developers/SDC/pulls/169/comments","review_comment_url":"https://api.github.com/repos/SDC-Developers/SDC/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SDC-Developers/SDC/issues/169/comments","statuses_url":"https://api.github.com/repos/SDC-Developers/SDC/statuses/6564d670270477cf2d997ee85fd1f5329a590989","head":{"label":"JohanEngelen:output-ll","ref":"output-ll","sha":"6564d670270477cf2d997ee85fd1f5329a590989","user":{"login":"JohanEngelen","id":10983051,"avatar_url":"https://avatars.githubusercontent.com/u/10983051?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanEngelen","html_url":"https://github.com/JohanEngelen","followers_url":"https://api.github.com/users/JohanEngelen/followers","following_url":"https://api.github.com/users/JohanEngelen/following{/other_user}","gists_url":"https://api.github.com/users/JohanEngelen/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanEngelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanEngelen/subscriptions","organizations_url":"https://api.github.com/users/JohanEngelen/orgs","repos_url":"https://api.github.com/users/JohanEngelen/repos","events_url":"https://api.github.com/users/JohanEngelen/events{/privacy}","received_events_url":"https://api.github.com/users/JohanEngelen/received_events","type":"User","site_admin":false},"repo":{"id":34480737,"name":"SDC","full_name":"JohanEngelen/SDC","owner":{"login":"JohanEngelen","id":10983051,"avatar_url":"https://avatars.githubusercontent.com/u/10983051?v=3","gravatar_id":"","url":"https://api.github.com/users/JohanEngelen","html_url":"https://github.com/JohanEngelen","followers_url":"https://api.github.com/users/JohanEngelen/followers","following_url":"https://api.github.com/users/JohanEngelen/following{/other_user}","gists_url":"https://api.github.com/users/JohanEngelen/gists{/gist_id}","starred_url":"https://api.github.com/users/JohanEngelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohanEngelen/subscriptions","organizations_url":"https://api.github.com/users/JohanEngelen/orgs","repos_url":"https://api.github.com/users/JohanEngelen/repos","events_url":"https://api.github.com/users/JohanEngelen/events{/privacy}","received_events_url":"https://api.github.com/users/JohanEngelen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JohanEngelen/SDC","description":"The Stupid D Compiler","fork":true,"url":"https://api.github.com/repos/JohanEngelen/SDC","forks_url":"https://api.github.com/repos/JohanEngelen/SDC/forks","keys_url":"https://api.github.com/repos/JohanEngelen/SDC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JohanEngelen/SDC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JohanEngelen/SDC/teams","hooks_url":"https://api.github.com/repos/JohanEngelen/SDC/hooks","issue_events_url":"https://api.github.com/repos/JohanEngelen/SDC/issues/events{/number}","events_url":"https://api.github.com/repos/JohanEngelen/SDC/events","assignees_url":"https://api.github.com/repos/JohanEngelen/SDC/assignees{/user}","branches_url":"https://api.github.com/repos/JohanEngelen/SDC/branches{/branch}","tags_url":"https://api.github.com/repos/JohanEngelen/SDC/tags","blobs_url":"https://api.github.com/repos/JohanEngelen/SDC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JohanEngelen/SDC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JohanEngelen/SDC/git/refs{/sha}","trees_url":"https://api.github.com/repos/JohanEngelen/SDC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JohanEngelen/SDC/statuses/{sha}","languages_url":"https://api.github.com/repos/JohanEngelen/SDC/languages","stargazers_url":"https://api.github.com/repos/JohanEngelen/SDC/stargazers","contributors_url":"https://api.github.com/repos/JohanEngelen/SDC/contributors","subscribers_url":"https://api.github.com/repos/JohanEngelen/SDC/subscribers","subscription_url":"https://api.github.com/repos/JohanEngelen/SDC/subscription","commits_url":"https://api.github.com/repos/JohanEngelen/SDC/commits{/sha}","git_commits_url":"https://api.github.com/repos/JohanEngelen/SDC/git/commits{/sha}","comments_url":"https://api.github.com/repos/JohanEngelen/SDC/comments{/number}","issue_comment_url":"https://api.github.com/repos/JohanEngelen/SDC/issues/comments{/number}","contents_url":"https://api.github.com/repos/JohanEngelen/SDC/contents/{+path}","compare_url":"https://api.github.com/repos/JohanEngelen/SDC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JohanEngelen/SDC/merges","archive_url":"https://api.github.com/repos/JohanEngelen/SDC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JohanEngelen/SDC/downloads","issues_url":"https://api.github.com/repos/JohanEngelen/SDC/issues{/number}","pulls_url":"https://api.github.com/repos/JohanEngelen/SDC/pulls{/number}","milestones_url":"https://api.github.com/repos/JohanEngelen/SDC/milestones{/number}","notifications_url":"https://api.github.com/repos/JohanEngelen/SDC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JohanEngelen/SDC/labels{/name}","releases_url":"https://api.github.com/repos/JohanEngelen/SDC/releases{/id}","created_at":"2015-04-23T20:48:43Z","updated_at":"2015-04-23T20:48:44Z","pushed_at":"2015-10-31T16:44:15Z","git_url":"git://github.com/JohanEngelen/SDC.git","ssh_url":"git@github.com:JohanEngelen/SDC.git","clone_url":"https://github.com/JohanEngelen/SDC.git","svn_url":"https://github.com/JohanEngelen/SDC","homepage":"","size":13224,"stargazers_count":0,"watchers_count":0,"language":"D","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":"SDC-Developers:master","ref":"master","sha":"efe332c10c5140db25b8d28dbd10573c852f8e43","user":{"login":"SDC-Developers","id":11708167,"avatar_url":"https://avatars.githubusercontent.com/u/11708167?v=3","gravatar_id":"","url":"https://api.github.com/users/SDC-Developers","html_url":"https://github.com/SDC-Developers","followers_url":"https://api.github.com/users/SDC-Developers/followers","following_url":"https://api.github.com/users/SDC-Developers/following{/other_user}","gists_url":"https://api.github.com/users/SDC-Developers/gists{/gist_id}","starred_url":"https://api.github.com/users/SDC-Developers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDC-Developers/subscriptions","organizations_url":"https://api.github.com/users/SDC-Developers/orgs","repos_url":"https://api.github.com/users/SDC-Developers/repos","events_url":"https://api.github.com/users/SDC-Developers/events{/privacy}","received_events_url":"https://api.github.com/users/SDC-Developers/received_events","type":"Organization","site_admin":false},"repo":{"id":693617,"name":"SDC","full_name":"SDC-Developers/SDC","owner":{"login":"SDC-Developers","id":11708167,"avatar_url":"https://avatars.githubusercontent.com/u/11708167?v=3","gravatar_id":"","url":"https://api.github.com/users/SDC-Developers","html_url":"https://github.com/SDC-Developers","followers_url":"https://api.github.com/users/SDC-Developers/followers","following_url":"https://api.github.com/users/SDC-Developers/following{/other_user}","gists_url":"https://api.github.com/users/SDC-Developers/gists{/gist_id}","starred_url":"https://api.github.com/users/SDC-Developers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SDC-Developers/subscriptions","organizations_url":"https://api.github.com/users/SDC-Developers/orgs","repos_url":"https://api.github.com/users/SDC-Developers/repos","events_url":"https://api.github.com/users/SDC-Developers/events{/privacy}","received_events_url":"https://api.github.com/users/SDC-Developers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SDC-Developers/SDC","description":"The Stupid D Compiler","fork":false,"url":"https://api.github.com/repos/SDC-Developers/SDC","forks_url":"https://api.github.com/repos/SDC-Developers/SDC/forks","keys_url":"https://api.github.com/repos/SDC-Developers/SDC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SDC-Developers/SDC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SDC-Developers/SDC/teams","hooks_url":"https://api.github.com/repos/SDC-Developers/SDC/hooks","issue_events_url":"https://api.github.com/repos/SDC-Developers/SDC/issues/events{/number}","events_url":"https://api.github.com/repos/SDC-Developers/SDC/events","assignees_url":"https://api.github.com/repos/SDC-Developers/SDC/assignees{/user}","branches_url":"https://api.github.com/repos/SDC-Developers/SDC/branches{/branch}","tags_url":"https://api.github.com/repos/SDC-Developers/SDC/tags","blobs_url":"https://api.github.com/repos/SDC-Developers/SDC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SDC-Developers/SDC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SDC-Developers/SDC/git/refs{/sha}","trees_url":"https://api.github.com/repos/SDC-Developers/SDC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SDC-Developers/SDC/statuses/{sha}","languages_url":"https://api.github.com/repos/SDC-Developers/SDC/languages","stargazers_url":"https://api.github.com/repos/SDC-Developers/SDC/stargazers","contributors_url":"https://api.github.com/repos/SDC-Developers/SDC/contributors","subscribers_url":"https://api.github.com/repos/SDC-Developers/SDC/subscribers","subscription_url":"https://api.github.com/repos/SDC-Developers/SDC/subscription","commits_url":"https://api.github.com/repos/SDC-Developers/SDC/commits{/sha}","git_commits_url":"https://api.github.com/repos/SDC-Developers/SDC/git/commits{/sha}","comments_url":"https://api.github.com/repos/SDC-Developers/SDC/comments{/number}","issue_comment_url":"https://api.github.com/repos/SDC-Developers/SDC/issues/comments{/number}","contents_url":"https://api.github.com/repos/SDC-Developers/SDC/contents/{+path}","compare_url":"https://api.github.com/repos/SDC-Developers/SDC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SDC-Developers/SDC/merges","archive_url":"https://api.github.com/repos/SDC-Developers/SDC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SDC-Developers/SDC/downloads","issues_url":"https://api.github.com/repos/SDC-Developers/SDC/issues{/number}","pulls_url":"https://api.github.com/repos/SDC-Developers/SDC/pulls{/number}","milestones_url":"https://api.github.com/repos/SDC-Developers/SDC/milestones{/number}","notifications_url":"https://api.github.com/repos/SDC-Developers/SDC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SDC-Developers/SDC/labels{/name}","releases_url":"https://api.github.com/repos/SDC-Developers/SDC/releases{/id}","created_at":"2010-05-30T06:04:11Z","updated_at":"2015-10-27T08:28:25Z","pushed_at":"2015-10-31T16:44:16Z","git_url":"git://github.com/SDC-Developers/SDC.git","ssh_url":"git@github.com:SDC-Developers/SDC.git","clone_url":"https://github.com/SDC-Developers/SDC.git","svn_url":"https://github.com/SDC-Developers/SDC","homepage":"","size":14722,"stargazers_count":107,"watchers_count":107,"language":"D","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"open_issues_count":52,"forks":35,"open_issues":52,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SDC-Developers/SDC/pulls/169"},"html":{"href":"https://github.com/SDC-Developers/SDC/pull/169"},"issue":{"href":"https://api.github.com/repos/SDC-Developers/SDC/issues/169"},"comments":{"href":"https://api.github.com/repos/SDC-Developers/SDC/issues/169/comments"},"review_comments":{"href":"https://api.github.com/repos/SDC-Developers/SDC/pulls/169/comments"},"review_comment":{"href":"https://api.github.com/repos/SDC-Developers/SDC/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SDC-Developers/SDC/pulls/169/commits"},"statuses":{"href":"https://api.github.com/repos/SDC-Developers/SDC/statuses/6564d670270477cf2d997ee85fd1f5329a590989"}}}}