{"action":"closed","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/3415","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/3415/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/3415/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/3415/events","html_url":"https://github.com/kripken/emscripten/issues/3415","id":71315065,"number":3415,"title":"Remove inline JS stuff?","user":{"login":"waywardmonkeys","id":178582,"avatar_url":"https://avatars.githubusercontent.com/u/178582?v=3","gravatar_id":"","url":"https://api.github.com/users/waywardmonkeys","html_url":"https://github.com/waywardmonkeys","followers_url":"https://api.github.com/users/waywardmonkeys/followers","following_url":"https://api.github.com/users/waywardmonkeys/following{/other_user}","gists_url":"https://api.github.com/users/waywardmonkeys/gists{/gist_id}","starred_url":"https://api.github.com/users/waywardmonkeys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waywardmonkeys/subscriptions","organizations_url":"https://api.github.com/users/waywardmonkeys/orgs","repos_url":"https://api.github.com/users/waywardmonkeys/repos","events_url":"https://api.github.com/users/waywardmonkeys/events{/privacy}","received_events_url":"https://api.github.com/users/waywardmonkeys/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-27T15:18:50Z","updated_at":"2015-04-28T03:45:44Z","closed_at":"2015-04-28T03:45:44Z","body":"There are a bunch of tests marked with:\r\n\r\n````\r\nif not self.is_emscripten_abi(): return self.skip('asmjs-unknown-emscripten needed for inline js')\r\n````\r\n\r\nThis isn't something that will ever be supported in that form again, right?\r\n\r\nThis is for stuff like:\r\n\r\n````c\r\ndouble get() {\r\n  double ret = 0;\r\n  __asm __volatile__(\"Math.abs(-12/3.3)\" : \"=r\"(ret));  // write to a variable\r\n  asm(\"#comment1\");\r\n  asm volatile(\"#comment2\");\r\n  asm volatile(\r\n      \"#comment3\\n\"\r\n      \"#comment4\\n\");\r\n  return ret;\r\n}\r\n\r\nint main() {\r\n  asm(\"Module.print('Inline JS is very cool')\");\r\n  printf(\"%.2f\\n\", get());\r\n\r\n  // Test that passing multiple input and output variables works.\r\n  int src1 = 1, src2 = 2, src3 = 3;\r\n  int dst1 = 0, dst2 = 0, dst3 = 0;\r\n  // TODO asm(\"Module.print(%3); Module.print(%4); Module.print(%5); %0 = %3; %1\r\n  // = %4; %2 = %5;\" : \"=r\"(dst1),\"=r\"(dst2),\"=r\"(dst3):\r\n  // \"r\"(src1),\"r\"(src2),\"r\"(src3));\r\n  // TODO printf(\"%d\\n%d\\n%d\\n\", dst1, dst2, dst3);\r\n\r\n  return 0;\r\n}\r\n````\r\n\r\nHow much can I axe?"}}