public void allocReturnAddresses(final FlowGraph cfg,
			final RegisterAllocator alloc) {
		// Allocate registers for the returnAddresses. Don't bother trying
		// to minimize the number of locals, just get a new one.
		final Iterator e = cfg.subroutines().iterator();

		while (e.hasNext()) {
			final Subroutine sub = (Subroutine) e.next();
			final LocalVariable var = alloc.newLocal(Type.ADDRESS);
			sub.setReturnAddress(var);
		}
	}