Function splatConst [src]

Prototype

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

Parameters

self: *Builderty: Typeval: Constant

Source

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