diff options
author | Ori Bernstein <ori@eigenstate.org> | 2015-09-16 08:35:41 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2015-09-16 08:35:41 -0700 |
commit | 501c03fca3a77243ae2e7415a199b08e806c96b2 (patch) | |
tree | b966256d91335da6b560774d6adc4c86867a2f69 | |
parent | 11f9444f151e18547c277027ff39f81c5976318f (diff) | |
download | mc-501c03fca3a77243ae2e7415a199b08e806c96b2.tar.gz |
Tycode fix for plan9.
We moved from Tyfunc to Tycode, but forgot to update the
definition of the oob abort for plan9. Fixed.
-rw-r--r-- | 6/genp9.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -50,6 +50,7 @@ static void initconsts(Htab *globls) tyvoid = mktype(Zloc, Tyvoid); ty = mktyfunc(Zloc, NULL, 0, mktype(Zloc, Tyvoid)); + ty->type = Tycode; name = mknsname(Zloc, "_rt", "abort_oob"); dcl = mkdecl(Zloc, name, ty); dcl->decl.isconst = 1; |