IrSmallArray

Stores 0-2 items inline Allocates memory from IrFuncStorage.arrayBuffer for arrays with > 2 slots

Members

Aliases

opCall
alias opCall = range
Undocumented in source.

Functions

append
void append(IrBuilder* builder, IrIndex itemData)
Undocumented in source. Be warned that the author may not have intended to support it.
capacity
uint capacity()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(IrFunction* ir, IrIndex what)
Undocumented in source. Be warned that the author may not have intended to support it.
data
IrIndex[] data(IrFunction* ir)
Undocumented in source. Be warned that the author may not have intended to support it.
empty
bool empty()
Undocumented in source. Be warned that the author may not have intended to support it.
findFirst
uint findFirst(IrFunction* ir, IrIndex what)
Undocumented in source. Be warned that the author may not have intended to support it.
free
void free(IrFunction* ir)
Undocumented in source. Be warned that the author may not have intended to support it.
isBig
bool isBig()
Undocumented in source. Be warned that the author may not have intended to support it.
length
uint length()
Undocumented in source. Be warned that the author may not have intended to support it.
opIndex
IrIndex opIndex(size_t index, IrFunction* ir)
Undocumented in source. Be warned that the author may not have intended to support it.
range
IrSmallArrayIterator range(IrFunction* ir)
Undocumented in source. Be warned that the author may not have intended to support it.
removeStable
uint removeStable(IrFunction* ir, IrIndex what)

Removes all occurences of what Preserves order of items

removeUnstable
uint removeUnstable(IrFunction* ir, IrIndex what)

Removes all occurences of what Alters order of items

replaceAll
void replaceAll(IrFunction* ir, IrIndex what, IrIndex byWhat)
Undocumented in source. Be warned that the author may not have intended to support it.
replaceFirst
bool replaceFirst(IrFunction* ir, IrIndex what, IrIndex byWhat)

Returns true if replacement was performed

toString
void toString(void delegate(const(char)[]) sink)
Undocumented in source. Be warned that the author may not have intended to support it.
tryFindFirst
uint tryFindFirst(IrFunction* ir, IrIndex what)
Undocumented in source. Be warned that the author may not have intended to support it.

Unions

__anonymous
union __anonymous
Undocumented in source.

Meta