Function convValue [src]

Prototype

pub fn convValue( self: *Builder, val: Constant, ty: Type, ) Allocator.Error!Value

Parameters

self: *Builderval: Constantty: Type

Source

pub fn convValue( self: *Builder, val: Constant, ty: Type, ) Allocator.Error!Value { return (try self.convConst(val, ty)).toValue(); }