Handle on-trace OOM errors from helper functions.
This commit is contained in:
@@ -184,6 +184,7 @@ typedef struct MCLink {
|
||||
typedef struct SnapShot {
|
||||
uint32_t mapofs; /* Offset into snapshot map. */
|
||||
IRRef1 ref; /* First IR ref for this snapshot. */
|
||||
uint16_t mcofs; /* Offset into machine code in MCode units. */
|
||||
uint8_t nslots; /* Number of valid slots. */
|
||||
uint8_t topslot; /* Maximum frame extent. */
|
||||
uint8_t nent; /* Number of compressed entries. */
|
||||
@@ -485,6 +486,7 @@ typedef struct jit_State {
|
||||
const BCIns *startpc; /* Bytecode PC of starting instruction. */
|
||||
TraceNo parent; /* Parent of current side trace (0 for root traces). */
|
||||
ExitNo exitno; /* Exit number in parent of current side trace. */
|
||||
int exitcode; /* Exit code from unwound trace. */
|
||||
|
||||
BCIns *patchpc; /* PC for pending re-patch. */
|
||||
BCIns patchins; /* Instruction for pending re-patch. */
|
||||
|
||||
Reference in New Issue
Block a user