Function convValue [src]
Prototype
pub fn convValue( self: *Builder, val: Constant, ty: Type, ) Allocator.Error!Value
Parameters
self: *Builder
val: Constant
ty: Type
Source
pub fn convValue(
self: *Builder,
val: Constant,
ty: Type,
) Allocator.Error!Value {
return (try self.convConst(val, ty)).toValue();
}