public override AstNode Visit(DoubleConstant node) { if(node.GetNodeValue() == null) node.SetNodeValue(new ConstantValue(node.GetValue())); return node; }
public override AstNode Visit(DoubleConstant node) { // Begin the node. builder.BeginNode(node); // Load the constant. builder.CreateLoadFp64(node.GetValue()); // Finish. return builder.EndNode(); }