summaryrefslogtreecommitdiff
path: root/6
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-16 08:35:41 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-16 08:35:41 -0700
commit501c03fca3a77243ae2e7415a199b08e806c96b2 (patch)
treeb966256d91335da6b560774d6adc4c86867a2f69 /6
parent11f9444f151e18547c277027ff39f81c5976318f (diff)
downloadmc-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.
Diffstat (limited to '6')
-rw-r--r--6/genp9.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/6/genp9.c b/6/genp9.c
index b138cd8..0a83335 100644
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -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;