22
22
The runtime system uses temporaries in specific contexts:
23
23
r8 (TEMP_LR) is used to preserve lr around BIF calls,
24
24
and to pass the callee address in native-to-BEAM traps.
27
26
and lr in hipe_arm_inc_stack (the caller saved its lr in TEMP_LR).
34
27
r1 (ARG0) is used for MBUF-after-BIF checks, for storing the
35
28
arity if a BIF that throws an exception or does GC due to MBUF,
36
29
and for checking P->flags for pending timeout.