From 501c03fca3a77243ae2e7415a199b08e806c96b2 Mon Sep 17 00:00:00 2001 From: Ori Bernstein Date: Wed, 16 Sep 2015 08:35:41 -0700 Subject: Tycode fix for plan9. We moved from Tyfunc to Tycode, but forgot to update the definition of the oob abort for plan9. Fixed. --- 6/genp9.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.1