aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/beam_validator_SUITE_data/uninit.S
blob: 9a66f4f7d6c65357aab9963154795ffd2ddcb6a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{module, uninit}.  %% version = 0

{exports, [{sum_1,2},{sum_2,2},{sum_3,2}]}.

{attributes, []}.

{labels, 9}.

{function, sum_1, 2, 2}.
  {label,1}.
    {func_info,{atom,t},{atom,sum_1},2}.
  {label,2}.
    {allocate,1,2}.
    {move,{y,0},{x,0}}.
    {'%live',1}.
    {call,1,{f,8}}.
    {bif,'+',{f,0},[{x,0},{y,0}],{x,0}}.
    {'%live',1}.
    {deallocate,1}.
    return.

{function, sum_2, 2, 4}.
  {label,3}.
    {func_info,{atom,t},{atom,sum_2},2}.
  {label,4}.
    {allocate,1,2}.
    {'%live',1}.
    {call,1,{f,8}}.
    {bif,'+',{f,0},[{x,0},{y,0}],{x,0}}.
    {'%live',1}.
    {deallocate,1}.
    return.

{function, sum_3, 2, 6}.
  {label,5}.
    {func_info,{atom,t},{atom,sum_3},2}.
  {label,6}.
    {allocate_zero,1,2}.
    {'%live',1}.
    {call,1,{f,8}}.
    {bif,'+',{f,0},[{x,0},{y,0}],{x,0}}.
    {'%live',1}.
    {deallocate,1}.
    return.

{function, id, 1, 8}.
  {label,7}.
    {func_info,{atom,t},{atom,id},1}.
  {label,8}.
    return.