net.sf.farrago.fennel.calc
Class CalcRexImplementorTableImpl.UsingInstrImplementor
java.lang.Object
net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.AbstractCalcRexImplementor
net.sf.farrago.fennel.calc.CalcRexImplementorTableImpl.UsingInstrImplementor
- All Implemented Interfaces:
- CalcRexImplementor
- Enclosing class:
- CalcRexImplementorTableImpl
private static class CalcRexImplementorTableImpl.UsingInstrImplementor
- extends CalcRexImplementorTableImpl.AbstractCalcRexImplementor
Implements a call by invoking a given instruction.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instr
CalcProgramBuilder.InstructionDef instr
CalcRexImplementorTableImpl.UsingInstrImplementor
CalcRexImplementorTableImpl.UsingInstrImplementor(CalcProgramBuilder.InstructionDef instr)
- "Precondition:"
- null != instr
implement
public CalcReg implement(RexCall call,
RexToCalcTranslator translator)
- Description copied from interface:
CalcRexImplementor
- Generates instructions to implement this call, and returns the register
which holds the result.