1{module, accessing_tags}.  %% version = 0
2
3{exports, [{foo,1},{bar,1}]}.
4
5{attributes, []}.
6
7{function, foo, 1, 2}.
8  {label,1}.
9    {func_info,{atom,accessing_tags},{atom,foo},1}.
10  {label,2}.
11    {allocate,1,1}.
12    {'catch',{y,0},{f,3}}.
13    {move,{y,0},{x,0}}.				%Retrieve the catch tag.
14    {call,1,{f,2}}.
15  {label,3}.
16    {catch_end,{y,0}}.
17    {deallocate,1}.
18    return.
19
20{function, bar, 1, 5}.
21  {label,4}.
22    {func_info,{atom,accessing_tags},{atom,bar},1}.
23  {label,5}.
24    {allocate,1,1}.
25    {'try',{y,0},{f,6}}.
26    {move,{y,0},{x,0}}.				%Retrieve the try tag.
27    {call,5,{f,2}}.
28  {label,6}.
29    {catch_end,{y,0}}.
30    {deallocate,1}.
31    return.
32