R=ken2
CC=golang-dev
https://golang.org/cl/4572052
This commit is contained in:
Russ Cox 2011-06-09 11:44:28 -04:00
parent 3a0a86888a
commit 17ca32e9db
2 changed files with 6 additions and 4 deletions

View File

@ -2,10 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
#undef EXTERN
#define EXTERN
#include "gg.h"
#include "opt.h"
#include "gg.h"
#include "opt.h"
void
compile(Node *fn)

View File

@ -134,6 +134,10 @@ exprfmt(Fmt *f, Node *n, int prec)
fmtprint(f, "(node %O)", n->op);
break;
case OREGISTER:
fmtprint(f, "%R", n->val.u.reg);
break;
case OLITERAL:
if(n->sym != S) {
fmtprint(f, "%S", n->sym);