{"action":"created","issue":{"url":"https://api.github.com/repos/graalvm/sulong/issues/5","repository_url":"https://api.github.com/repos/graalvm/sulong","labels_url":"https://api.github.com/repos/graalvm/sulong/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/graalvm/sulong/issues/5/comments","events_url":"https://api.github.com/repos/graalvm/sulong/issues/5/events","html_url":"https://github.com/graalvm/sulong/pull/5","id":130733490,"number":5,"title":"Basic intrinsics","user":{"login":"mrigger","id":14328197,"avatar_url":"https://avatars.githubusercontent.com/u/14328197?v=3","gravatar_id":"","url":"https://api.github.com/users/mrigger","html_url":"https://github.com/mrigger","followers_url":"https://api.github.com/users/mrigger/followers","following_url":"https://api.github.com/users/mrigger/following{/other_user}","gists_url":"https://api.github.com/users/mrigger/gists{/gist_id}","starred_url":"https://api.github.com/users/mrigger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrigger/subscriptions","organizations_url":"https://api.github.com/users/mrigger/orgs","repos_url":"https://api.github.com/users/mrigger/repos","events_url":"https://api.github.com/users/mrigger/events{/privacy}","received_events_url":"https://api.github.com/users/mrigger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graalvm/sulong/labels/oca-signed","name":"oca-signed","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"chrisseaton","id":341094,"avatar_url":"https://avatars.githubusercontent.com/u/341094?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisseaton","html_url":"https://github.com/chrisseaton","followers_url":"https://api.github.com/users/chrisseaton/followers","following_url":"https://api.github.com/users/chrisseaton/following{/other_user}","gists_url":"https://api.github.com/users/chrisseaton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisseaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisseaton/subscriptions","organizations_url":"https://api.github.com/users/chrisseaton/orgs","repos_url":"https://api.github.com/users/chrisseaton/repos","events_url":"https://api.github.com/users/chrisseaton/events{/privacy}","received_events_url":"https://api.github.com/users/chrisseaton/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2016-02-02T16:20:15Z","updated_at":"2016-02-02T16:44:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/graalvm/sulong/pulls/5","html_url":"https://github.com/graalvm/sulong/pull/5","diff_url":"https://github.com/graalvm/sulong/pull/5.diff","patch_url":"https://github.com/graalvm/sulong/pull/5.patch"},"body":"This changes provides some Java substitutions for native calls to malloc, sqrt, and free."},"comment":{"url":"https://api.github.com/repos/graalvm/sulong/issues/comments/178681358","html_url":"https://github.com/graalvm/sulong/pull/5#issuecomment-178681358","issue_url":"https://api.github.com/repos/graalvm/sulong/issues/5","id":178681358,"user":{"login":"mrigger","id":14328197,"avatar_url":"https://avatars.githubusercontent.com/u/14328197?v=3","gravatar_id":"","url":"https://api.github.com/users/mrigger","html_url":"https://github.com/mrigger","followers_url":"https://api.github.com/users/mrigger/followers","following_url":"https://api.github.com/users/mrigger/following{/other_user}","gists_url":"https://api.github.com/users/mrigger/gists{/gist_id}","starred_url":"https://api.github.com/users/mrigger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrigger/subscriptions","organizations_url":"https://api.github.com/users/mrigger/orgs","repos_url":"https://api.github.com/users/mrigger/repos","events_url":"https://api.github.com/users/mrigger/events{/privacy}","received_events_url":"https://api.github.com/users/mrigger/received_events","type":"User","site_admin":false},"created_at":"2016-02-02T16:44:54Z","updated_at":"2016-02-02T16:44:54Z","body":"I plan to refactor intrinsics soon anyway. Instead of getting the arguments array by themselves, they should receive typed arguments in their execute method. Also, it should be configurable if an intrinsic should be a call target or just a node in order to make decisions about inlining upfront. Then, the nodes should inherit from the node class with respect to their return type. For experimentation, it would be nice to leave them for now like this."}}