01: /***
02: * ASM: a very small and fast Java bytecode manipulation framework
03: * Copyright (C) 2000 INRIA, France Telecom
04: * Copyright (C) 2002 France Telecom
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation; either
09: * 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: */package bsh.org.objectweb.asm;
24:
25: /**
26: * An edge in the control flow graph of a method body. See {@link Label Label}.
27: */
28:
29: class Edge {
30:
31: /**
32: * The (relative) stack size in the basic block from which this edge
33: * originates. This size is equal to the stack size at the "jump" instruction
34: * to which this edge corresponds, relatively to the stack size at the
35: * beginning of the originating basic block.
36: */
37:
38: int stackSize;
39:
40: /**
41: * The successor block of the basic block from which this edge originates.
42: */
43:
44: Label successor;
45:
46: /**
47: * The next edge in the list of successors of the originating basic block.
48: * See {@link Label#successors successors}.
49: */
50:
51: Edge next;
52:
53: /**
54: * The next available edge in the pool. See {@link CodeWriter#pool pool}.
55: */
56:
57: Edge poolNext;
58: }
|