DoxigAlpha

writeCallRef

Function parameters

Parameters

#
writer:anytype
is_64:bool
value:if (is_64) u64 else u32

Expressions can be evaluated in different contexts, each requiring its own set of inputs.

Types

#
Context
Expressions can be evaluated in different contexts, each requiring its own set of inputs.

A stack machine that can decode and run DWARF expressions.

Functions

#
StackMachine
A stack machine that can decode and run DWARF expressions.

Error sets in this namespace

Error Sets

#

Source

Implementation

#
pub fn writeCallRef(writer: anytype, comptime is_64: bool, value: if (is_64) u64 else u32) !void {
    if (options.call_frame_context) return error.InvalidCFAOpcode;
    try writer.writeByte(OP.call_ref);
    try writer.writeInt(if (is_64) u64 else u32, value, options.endian);
}