Function callAsm [src]

Prototype

pub fn callAsm( self: *WipFunction, function_attributes: FunctionAttributes, ty: Type, kind: Constant.Assembly.Info, assembly: String, constraints: String, args: []const Value, name: []const u8, ) Allocator.Error!Value

Parameters

self: *WipFunctionfunction_attributes: FunctionAttributesty: Typekind: Constant.Assembly.Infoassembly: Stringconstraints: Stringargs: []const Valuename: []const u8

Source

pub fn callAsm( self: *WipFunction, function_attributes: FunctionAttributes, ty: Type, kind: Constant.Assembly.Info, assembly: String, constraints: String, args: []const Value, name: []const u8, ) Allocator.Error!Value { const callee = try self.builder.asmValue(ty, kind, assembly, constraints); return self.call(.normal, CallConv.default, function_attributes, ty, callee, args, name); }