summaryrefslogtreecommitdiffstats
path: root/include/c99_alloca.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-09-28 21:45:41 -0700
committerJason Ekstrand <[email protected]>2017-10-12 22:39:31 -0700
commit29737eac985cf028b19d977cb8fa0d7320cf91cf (patch)
tree5d20822db9d678ae549c0c57b540ddec6d9fbcd9 /include/c99_alloca.h
parentc3d54d03757fcb656cc4839a2c7978d97f75508d (diff)
intel: Allocate prog_data::[pull_]param deeper inside the compiler
Now that we're always growing the param array as-needed, we can allocate the param array in common code and stop repeating the allocation everywere. In order to keep things sane, we ralloc the [pull_]param array off of the compile context and then steal it back to a NULL context later. This doesn't get us all the way to where prog_data::[pull_]param is purely an out parameter of the back-end compiler but it gets us a lot closer. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'include/c99_alloca.h')
0 files changed, 0 insertions, 0 deletions