// $Id: DelocalizedLabelInstruction.java,v 1.1.1.1 1999/12/05 22:19:51 mpp Exp $

package IR2;

import java.util.Enumeration;

public class DelocalizedLabelInstruction extends DelocalizedInstruction {
  private String label;

  public DelocalizedLabelInstruction(String lbl) {
    label = lbl;
  }

  public DelocalizedLValue destination() {
    return null;
  }

  public Enumeration lsources() {
    return new ShortEnumeration();
  }

  public String get_label() {
    return label;
  }

  public String toString() { 
    return "DeLabel[" + label + "]";
  }

  public void generate_code(Codegen c){
    c.generate_label(label);
  }
}
