diff options
author | P. J. McDermott <pj@pehjota.net> | 2017-02-07 19:11:47 (EST) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2017-02-07 19:11:47 (EST) |
commit | aca8d9935b280fb51a2bc2332be63c56301c5dbd (patch) | |
tree | f7ce351d7ed3b4b4a64ce548eb454d7bd0aa5f04 /TODO | |
parent | 8d61389effe0b59489f47e813ab7e3f8c23d495f (diff) | |
download | eggshell-aca8d9935b280fb51a2bc2332be63c56301c5dbd.zip eggshell-aca8d9935b280fb51a2bc2332be63c56301c5dbd.tar.gz eggshell-aca8d9935b280fb51a2bc2332be63c56301c5dbd.tar.bz2 |
TODO: Describe ctxsw optimization
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -7,3 +7,12 @@ Example: array `arr_` and index `ind`: stored as `__arr_arr___x__ind` Example: array `arr` and index `_ind`: stored as `__arr_arr__x___ind` Example: array `arr_` and index `_ind`: stored as `__arr_arr___x___ind` + * Consider ctxsw optimization: + - In backend, prefix parameter names (in assignments and expansions) with TU + and function + - In eshrt, remove variable updating code + - Caveat: breaks variable parameter names in eval + - If arrays are implemented, would anyone still need variable parameter + names? + - Maybe add -fno-mangle-vars option to eshtrans to disable prefixing and + insert a flag in generated code to enable eshrt to update variables |