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