Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
111ae83b
Commit
111ae83b
authored
Jun 25, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6g: update for spec change CL 30586
R=ken OCL=30593 CL=30756
parent
4c5c0f43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
walk.c
src/cmd/gc/walk.c
+5
-9
No files found.
src/cmd/gc/walk.c
View file @
111ae83b
...
...
@@ -209,15 +209,8 @@ implicitstar(Node **nn)
t
=
t
->
type
;
if
(
t
==
T
)
return
;
switch
(
t
->
etype
)
{
case
TMAP
:
case
TSTRING
:
case
TARRAY
:
case
TINTER
:
break
;
default:
if
(
!
isfixedarray
(
t
))
return
;
}
n
=
nod
(
OIND
,
n
,
N
);
walktype
(
n
,
Elv
);
*
nn
=
n
;
...
...
@@ -1736,7 +1729,10 @@ lookdot(Node *n, Type *t)
n
->
xoffset
=
f1
->
width
;
n
->
type
=
f1
->
type
;
if
(
t
->
etype
==
TINTER
)
{
implicitstar
(
&
n
->
left
);
if
(
isptr
[
n
->
left
->
type
->
etype
])
{
n
->
left
=
nod
(
OIND
,
n
->
left
,
N
);
// implicitstar
walktype
(
n
->
left
,
Elv
);
}
n
->
op
=
ODOTINTER
;
}
return
1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment