Commit 517e3457 authored by Russ Cox's avatar Russ Cox

fix build on amd64

R=ken
OCL=32521
CL=32521
parent bbeb2276
......@@ -68,6 +68,8 @@ compile(Node *fn)
genlist(curfn->enter);
genlist(curfn->nbody);
checklabels();
if(nerrors != 0)
goto ret;
if(curfn->type->outtuple != 0)
ginscall(throwreturn, 0);
......
......@@ -70,6 +70,8 @@ compile(Node *fn)
genlist(curfn->nbody);
gclean();
checklabels();
if(nerrors != 0)
goto ret;
if(curfn->type->outtuple != 0)
ginscall(throwreturn, 0);
......
......@@ -101,6 +101,9 @@ Dconv(Fmt *fp)
break;
case D_BRANCH:
if(a->branch == nil)
snprint(str, sizeof(str), "<nil>");
else
snprint(str, sizeof(str), "%ld", a->branch->loc);
break;
......
......@@ -68,6 +68,8 @@ compile(Node *fn)
genlist(curfn->nbody);
gclean();
checklabels();
if(nerrors != 0)
goto ret;
if(curfn->type->outtuple != 0)
ginscall(throwreturn, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment