Table of Contents

Method Malloc

Namespace
Ubiquity.NET.Llvm.Instructions
Assembly
Ubiquity.NET.Llvm.dll

Malloc(ITypeRef)

Inserts a call to malloc

public Value Malloc(ITypeRef itemType)

Parameters

itemType ITypeRef

Type to allocate space for

Returns

Value

Value (virtual register) for the result of a call to malloc

Exceptions

ArgumentException

itemType is not sized