Class CodeArray

java.lang.Object
EDU.purdue.cs.bloat.editor.CodeArray
All Implemented Interfaces:
InstructionVisitor, Opcode

public class CodeArray extends Object implements InstructionVisitor, Opcode
CodeArray converts an array of Instructions into an array of bytes suitable for saving to a MethodInfo with setCode.

The byte array is returned by calling the array method.

This code assumes no branch will be longer than 65536 bytes.

See Also: