PageRenderTime 25ms CodeModel.GetById 19ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-3-pre5/org/objectweb/asm/Edge.java

#
Java | 60 lines | 7 code | 11 blank | 42 comment | 0 complexity | 93a4934ddc6dff1cd40115a415b726e2 MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
 1/***
 2 * ASM: a very small and fast Java bytecode manipulation framework
 3 * Copyright (C) 2000 INRIA, France Telecom
 4 * Copyright (C) 2002 France Telecom
 5 *
 6 * This library is free software; you can redistribute it and/or
 7 * modify it under the terms of the GNU Lesser General Public
 8 * License as published by the Free Software Foundation; either
 9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19 *
20 * Contact: Eric.Bruneton@rd.francetelecom.com
21 *
22 * Author: Eric Bruneton
23 */
24
25package org.objectweb.asm;
26
27/**
28 * An edge in the control flow graph of a method body. See {@link Label Label}.
29 */
30
31class Edge {
32
33  /**
34   * The (relative) stack size in the basic block from which this edge
35   * originates. This size is equal to the stack size at the "jump" instruction
36   * to which this edge corresponds, relatively to the stack size at the
37   * beginning of the originating basic block.
38   */
39
40  int stackSize;
41
42  /**
43   * The successor block of the basic block from which this edge originates.
44   */
45
46  Label successor;
47
48  /**
49   * The next edge in the list of successors of the originating basic block.
50   * See {@link Label#successors successors}.
51   */
52
53  Edge next;
54
55  /**
56   * The next available edge in the pool. See {@link CodeWriter#pool pool}.
57   */
58
59  Edge poolNext;
60}