net.sf.farrago.fennel.calc
Class CalcRexImplementorTableImpl.TrimImplementor

java.lang.Object
  extended by net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.AbstractCalcRexImplementor
      extended by net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.InstrDefImplementor
          extended by net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.TrimImplementor
All Implemented Interfaces:
CalcRexImplementor
Enclosing class:
CalcRexImplementorTableImpl

private static class CalcRexImplementorTableImpl.TrimImplementor
extends CalcRexImplementorTableImpl.InstrDefImplementor

Implements the TRIM function.


Field Summary
 
Fields inherited from class net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.InstrDefImplementor
instr
 
Constructor Summary
CalcRexImplementorTableImpl.TrimImplementor()
           
 
Method Summary
protected  List<CalcReg> makeRegList(RexToCalcTranslator translator, RexCall call)
          Creates the list of registers which will be arguments to the instruction call.
 
Methods inherited from class net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.InstrDefImplementor
implement
 
Methods inherited from class net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.AbstractCalcRexImplementor
canImplement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalcRexImplementorTableImpl.TrimImplementor

public CalcRexImplementorTableImpl.TrimImplementor()
Method Detail

makeRegList

protected List<CalcReg> makeRegList(RexToCalcTranslator translator,
                                    RexCall call)
Description copied from class: CalcRexImplementorTableImpl.InstrDefImplementor
Creates the list of registers which will be arguments to the instruction call. i.e implment all the operands of the call and create a result register for the call.

The 0th argument is assumed to hold the result of the call.

Overrides:
makeRegList in class CalcRexImplementorTableImpl.InstrDefImplementor