Skip to content

New builtin to get stack_frame object#208

Draft
VoxSciurorum wants to merge 1 commit intodev/17.xfrom
jfc/frame
Draft

New builtin to get stack_frame object#208
VoxSciurorum wants to merge 1 commit intodev/17.xfrom
jfc/frame

Conversation

@VoxSciurorum
Copy link
Copy Markdown
Contributor

This pairs with a pull request to cheetah.

Add a C builtin __tapir_frame and IR intrinsic tapir_frame to get the current stack_frame object. These builtins return null if used outside of a Cilk region. Add a pointer to the stack_frame object as an argument when looking up a hyperobject view to avoid a TLS reference in the runtime.

@VoxSciurorum VoxSciurorum changed the base branch from dev/16.x to dev/17.x January 15, 2024 18:49
@VoxSciurorum VoxSciurorum marked this pull request as draft August 26, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant