00001 package de.fub.bytecode.generic; 00002 00003 /** 00004 * D2I - Convert double to int 00005 * <PRE>Stack: ..., value.word1, value.word2 -> ..., result</PRE> 00006 * 00007 * @version $Id: D2I.java,v 1.1.1.1 2002/01/24 03:41:38 pserver Exp $ 00008 * @author <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A> 00009 */ 00010 public class D2I extends ConversionInstruction { 00011 /** Convert double to int 00012 */ 00013 public D2I() { 00014 super(de.fub.bytecode.Constants.D2I); 00015 } 00016 /** 00017 * Call corresponding visitor method(s). The order is: 00018 * Call visitor methods of implemented interfaces first, then 00019 * call methods according to the class hierarchy in descending order, 00020 * i.e., the most specific visitXXX() call comes last. 00021 * 00022 * @param v Visitor object 00023 */ 00024 public void accept(Visitor v) { 00025 v.visitTypedInstruction(this); 00026 v.visitStackProducer(this); 00027 v.visitStackConsumer(this); 00028 v.visitConversionInstruction(this); 00029 v.visitD2I(this); 00030 } 00031 }