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
f930d281
Commit
f930d281
authored
Jul 27, 2010
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
5g: fix build
R=ken2 CC=golang-dev
https://golang.org/cl/1893042
parent
4501e18a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
gobj.c
src/cmd/5g/gobj.c
+2
-2
gobj.c
src/cmd/6g/gobj.c
+1
-1
gobj.c
src/cmd/8g/gobj.c
+1
-1
go.h
src/cmd/gc/go.h
+1
-1
reflect.c
src/cmd/gc/reflect.c
+2
-2
No files found.
src/cmd/5g/gobj.c
View file @
f930d281
...
...
@@ -633,10 +633,10 @@ dsymptr(Sym *s, int off, Sym *x, int xoff)
void
genembedtramp
(
Type
*
rcvr
,
Type
*
method
,
Sym
*
newnam
)
genembedtramp
(
Type
*
rcvr
,
Type
*
method
,
Sym
*
newnam
,
int
iface
)
{
// TODO(kaib): re-implement genembedtramp
genwrapper
(
rcvr
,
method
,
newnam
);
genwrapper
(
rcvr
,
method
,
newnam
,
iface
);
/*
Sym *e;
int c, d, o;
...
...
src/cmd/6g/gobj.c
View file @
f930d281
...
...
@@ -633,7 +633,7 @@ dsymptr(Sym *s, int off, Sym *x, int xoff)
}
void
genembedtramp
(
Type
*
rcvr
,
Type
*
method
,
Sym
*
newnam
)
genembedtramp
(
Type
*
rcvr
,
Type
*
method
,
Sym
*
newnam
,
int
iface
)
{
Sym
*
e
;
int
c
,
d
,
o
,
mov
,
add
,
loaded
;
...
...
src/cmd/8g/gobj.c
View file @
f930d281
...
...
@@ -642,7 +642,7 @@ dsymptr(Sym *s, int off, Sym *x, int xoff)
}
void
genembedtramp
(
Type
*
rcvr
,
Type
*
method
,
Sym
*
newnam
)
genembedtramp
(
Type
*
rcvr
,
Type
*
method
,
Sym
*
newnam
,
int
iface
)
{
Sym
*
e
;
int
c
,
d
,
o
,
mov
,
add
,
loaded
;
...
...
src/cmd/gc/go.h
View file @
f930d281
...
...
@@ -1209,7 +1209,7 @@ void dumpfuncs(void);
void
gdata
(
Node
*
,
Node
*
,
int
);
void
gdatacomplex
(
Node
*
,
Mpcplx
*
);
void
gdatastring
(
Node
*
,
Strlit
*
);
void
genembedtramp
(
Type
*
,
Type
*
,
Sym
*
);
void
genembedtramp
(
Type
*
,
Type
*
,
Sym
*
,
int
iface
);
void
ggloblnod
(
Node
*
nam
,
int32
width
);
void
ggloblsym
(
Sym
*
s
,
int32
width
,
int
dupok
);
Prog
*
gjmp
(
Prog
*
);
...
...
src/cmd/gc/reflect.c
View file @
f930d281
...
...
@@ -199,7 +199,7 @@ methods(Type *t)
// is a pointer adjustment and a JMP.
if
(
isptr
[
it
->
etype
]
&&
isptr
[
this
->
etype
]
&&
f
->
embedded
&&
!
isifacemethod
(
f
->
type
))
genembedtramp
(
it
,
f
,
a
->
isym
);
genembedtramp
(
it
,
f
,
a
->
isym
,
1
);
else
genwrapper
(
it
,
f
,
a
->
isym
,
1
);
}
...
...
@@ -212,7 +212,7 @@ methods(Type *t)
oldlist
=
pc
;
if
(
isptr
[
t
->
etype
]
&&
isptr
[
this
->
etype
]
&&
f
->
embedded
&&
!
isifacemethod
(
f
->
type
))
genembedtramp
(
t
,
f
,
a
->
tsym
);
genembedtramp
(
t
,
f
,
a
->
tsym
,
0
);
else
genwrapper
(
t
,
f
,
a
->
tsym
,
0
);
}
...
...
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