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

package IR2;

import java.util.*;

public class NopInstruction extends LowInstruction {

  public NopInstruction() {
	next = null;
  }
  public NopInstruction(LowInstruction n) {
	next = n;
  }

  public DelocalizedInstruction do_asm(Codegen c, MethodDescriptor d,
                                                CFG output,
                                                DelocalizedInstruction prev)
  {
    // Gee this was easy.
    return prev;   // Removed from graph!
  } 

  public String desc() {
	return "nop";
  }


  /* Traversable methods. */
  public void traverse(Traversal t) {
    t.traverse(next);
  }
}
