summaryrefslogtreecommitdiff
path: root/src/cmd/gc/const.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/gc/const.c')
-rw-r--r--src/cmd/gc/const.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/gc/const.c b/src/cmd/gc/const.c
index aff4a09a3..7ad2110af 100644
--- a/src/cmd/gc/const.c
+++ b/src/cmd/gc/const.c
@@ -12,6 +12,7 @@ convlit(Node *n, Type *t)
if(n == N || t == T)
return;
+
switch(n->op) {
default:
return;
@@ -25,7 +26,6 @@ convlit(Node *n, Type *t)
}
et = t->etype;
-
wt = whatis(n);
switch(wt) {