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

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.CastDecimalImplementor
All Implemented Interfaces:
CalcRexImplementor
Enclosing class:
CalcRexImplementorTableImpl

private static class CalcRexImplementorTableImpl.CastDecimalImplementor
extends CalcRexImplementorTableImpl.InstrDefImplementor

Implementor for casting between char and decimal types.


Field Summary
 
Fields inherited from class net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.InstrDefImplementor
instr
 
Constructor Summary
CalcRexImplementorTableImpl.CastDecimalImplementor(CalcProgramBuilder.InstructionDef instr)
           
 
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.CastDecimalImplementor

CalcRexImplementorTableImpl.CastDecimalImplementor(CalcProgramBuilder.InstructionDef instr)
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