コード例 #1
0
 static Tile compareRegConst <T, C>(string cond_type)
     where T : BinaryOperatorNode
 {
     return(compare <T, RegisterNode, ConstantNode <C> > (
                (regNode, root, left, right) => new[] {
         InstructionFactory.Cmp(left, right),
         InstructionFactory.Set(cond_type, regNode)
     }
                ));
 }