Commit 17ca32e9 authored by Russ Cox's avatar Russ Cox

gc: nits

R=ken2
CC=golang-dev
https://golang.org/cl/4572052
parent 3a0a8688
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file. // license that can be found in the LICENSE file.
#undef EXTERN
#define EXTERN
#include "gg.h" #include "gg.h"
#include "opt.h" #include "opt.h"
......
...@@ -134,6 +134,10 @@ exprfmt(Fmt *f, Node *n, int prec) ...@@ -134,6 +134,10 @@ exprfmt(Fmt *f, Node *n, int prec)
fmtprint(f, "(node %O)", n->op); fmtprint(f, "(node %O)", n->op);
break; break;
case OREGISTER:
fmtprint(f, "%R", n->val.u.reg);
break;
case OLITERAL: case OLITERAL:
if(n->sym != S) { if(n->sym != S) {
fmtprint(f, "%S", n->sym); fmtprint(f, "%S", n->sym);
......
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