diff options
author | Simon Marlow <marlowsd@gmail.com> | 2013-09-17 21:48:39 +0100 |
---|---|---|
committer | Simon Marlow <marlowsd@gmail.com> | 2013-10-01 11:10:08 +0100 |
commit | 11b5ce550d1a9bc84dd97629e1cca0b356054898 (patch) | |
tree | 5446e455f6165f50291c8877fdead17b74cae13f /rts/Messages.c | |
parent | 56084d76eb1b57ad96a9e1c55f3d3e2d134f98d5 (diff) | |
download | haskell-11b5ce550d1a9bc84dd97629e1cca0b356054898.tar.gz |
Remove use of R9, and fix associated bugs
We were passing the function address to stg_gc_prim_p in R9, which was
wrong because the call was a high-level call and didn't declare R9 as
a parameter. Passing R9 as an argument is the right way, but
unfortunately that exposed another bug: we were using the same macro
in some low-level Cmm, where it is illegal to call functions with
arguments (see Note [syntax of cmm files]). So we now have low-level
variants of STK_CHK() and STK_CHK_P() for use in low-level Cmm code.
Diffstat (limited to 'rts/Messages.c')
0 files changed, 0 insertions, 0 deletions