KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > gnu > expr > IgnoreTarget


1 package gnu.expr;
2
3 import gnu.bytecode.Type;
4
5 public class IgnoreTarget extends Target
6 {
7   public Type getType() { return Type.void_type; }
8
9   public void compileFromStack(Compilation comp, Type stackType)
10   {
11     if (! stackType.isVoid())
12       comp.getCode().emitPop(1);
13   }
14 }
15
Popular Tags