PageRenderTime 40ms CodeModel.GetById 12ms 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. package org.objectweb.asm;
  25. /**
  26. * An edge in the control flow graph of a method body. See {@link Label Label}.
  27. */
  28. class Edge {
  29. /**
  30. * The (relative) stack size in the basic block from which this edge
  31. * originates. This size is equal to the stack size at the "jump" instruction
  32. * to which this edge corresponds, relatively to the stack size at the
  33. * beginning of the originating basic block.
  34. */
  35. int stackSize;
  36. /**
  37. * The successor block of the basic block from which this edge originates.
  38. */
  39. Label successor;
  40. /**
  41. * The next edge in the list of successors of the originating basic block.
  42. * See {@link Label#successors successors}.
  43. */
  44. Edge next;
  45. /**
  46. * The next available edge in the pool. See {@link CodeWriter#pool pool}.
  47. */
  48. Edge poolNext;
  49. }