Function convConst [src]

Prototype

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

Parameters

self: *Builderval: Constantty: Type

Source

pub fn convConst( self: *Builder, val: Constant, ty: Type, ) Allocator.Error!Constant { try self.ensureUnusedConstantCapacity(1, Constant.Cast, 0); return self.convConstAssumeCapacity(val, ty); }