Skip to content

Instantly share code, notes, and snippets.

@bbhoss
Created September 16, 2015 03:48
Show Gist options
  • Save bbhoss/37971b09e82d3035e77b to your computer and use it in GitHub Desktop.
Save bbhoss/37971b09e82d3035e77b to your computer and use it in GitHub Desktop.
{module, erl_list}. %% version = 0
{exports, [{hello_pipe,0},{hello_pp,0},{module_info,0},{module_info,1}]}.
{attributes, []}.
{labels, 9}.
{function, hello_pp, 0, 2}.
{label,1}.
{line,[{location,"erl_list.erl",5}]}.
{func_info,{atom,erl_list},{atom,hello_pp},0}.
{label,2}.
{move,{literal,[1,2,3,4,5,1,2,3,4,5]},{x,0}}.
return.
{function, hello_pipe, 0, 4}.
{label,3}.
{line,[{location,"erl_list.erl",10}]}.
{func_info,{atom,erl_list},{atom,hello_pipe},0}.
{label,4}.
{move,{literal,[[1,2,3,4,5],1,2,3,4,5]},{x,0}}.
return.
{function, module_info, 0, 6}.
{label,5}.
{line,[]}.
{func_info,{atom,erl_list},{atom,module_info},0}.
{label,6}.
{move,{atom,erl_list},{x,0}}.
{line,[]}.
{call_ext_only,1,{extfunc,erlang,get_module_info,1}}.
{function, module_info, 1, 8}.
{label,7}.
{line,[]}.
{func_info,{atom,erl_list},{atom,module_info},1}.
{label,8}.
{move,{x,0},{x,1}}.
{move,{atom,erl_list},{x,0}}.
{line,[]}.
{call_ext_only,2,{extfunc,erlang,get_module_info,2}}.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment