ChunkEntryPoint

An enumeration of different ways to enter or re-enter a continuation. In the event that the continuation's chunk has been invalidated, these enumeration values indicate the offset that should be used within the default chunk.

Parameters

offsetInDefaultChunk

An offset within the default chunk.

Entries

Link copied to clipboard

The unoptimizedChunk entry point to jump to if a primitive was attempted but failed, and we need to run the (unoptimized, L1) alternative code.

Link copied to clipboard

The entry point to jump to when continuing execution of a non-reified unoptimized frame after reifying its caller chain.

Link copied to clipboard

The entry point to which to jump when returning into a continuation that's running the unoptimizedChunk.

Link copied to clipboard

The entry point to which to jump when returning from an interrupt into a continuation that's running the unoptimizedChunk.

Link copied to clipboard

An unreachable entry point.

Link copied to clipboard

The entry point to which to jump when restarting an unoptimized A_Continuation via P_RestartContinuation or P_RestartContinuationWithArguments. We skip the L2_TRY_OPTIONAL_PRIMITIVE, but still do the L2_DECREMENT_COUNTER_AND_REOPTIMIZE_ON_ZERO so that looped functions tend to get optimized.

Link copied to clipboard

The chunk containing this entry point can't be invalid when it's entered. Note that continuations that are created with this entry point type don't have to have any slots filled in, and can just contain a caller, function, chunk, offset, and register dump.

Properties

Link copied to clipboard
Link copied to clipboard

The offset within the default chunk at which to continue if a chunk has been invalidated.

Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.