00001 package de.fub.bytecode.generic; 00002 00003 /** 00004 * I2L - Convert int to long 00005 * <PRE>Stack: ..., value -> ..., result.word1, result.word2</PRE> 00006 * 00007 * @version $Id: I2L.java,v 1.1.1.1 2002/01/24 03:41:39 pserver Exp $ 00008 * @author <A HREF="http://www.inf.fu-berlin.de/~dahm">M. Dahm</A> 00009 */ 00010 public class I2L extends ConversionInstruction { 00011 /** Convert int to long 00012 */ 00013 public I2L() { 00014 super(de.fub.bytecode.Constants.I2L); 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.visitI2L(this); 00030 } 00031 }