AllocNode.AllocNode C# (CSharp) Method

AllocNode() public method

public AllocNode ( int t, int bt, int bt_len, BacktraceTabulator, tab ) : System
t int
bt int
bt_len int
tab BacktraceTabulator,
return System
    public AllocNode(int t, int [] bt, int bt_len, BacktraceTabulator tab)
    {
        this.type = t;
        this.bt = bt;
        this.bt_len = bt_len;
        this.tab = tab;

        tab.nodes.Add (this, this);

        if (bt_len != 0) {
            Parent = tab.LookupNode (t, bt, bt_len - 1);
            if (Parent.Children == null)
                Parent.Children = new ArrayList ();

            Parent.Children.Add (this);
        } else {
            tab.type_nodes.Add (this);
        }
    }

Same methods

AllocNode::AllocNode ( ) : System