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
f8b20e40
Commit
f8b20e40
authored
Nov 14, 2008
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add cov, prof to default build; clean up compiler warnings
R=r DELTA=8 (1 added, 0 deleted, 7 changed) OCL=19245 CL=19245
parent
7832ab5b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
7 deletions
+8
-7
cc.h
src/cmd/cc/cc.h
+1
-1
clean.bash
src/cmd/clean.bash
+1
-1
make.bash
src/cmd/make.bash
+1
-1
main.c
src/cmd/prof/main.c
+3
-3
typestring.c
src/lib/reflect/typestring.c
+1
-1
runtime.c
src/runtime/runtime.c
+1
-0
No files found.
src/cmd/cc/cc.h
View file @
f8b20e40
...
...
@@ -61,7 +61,7 @@ typedef struct Bits Bits;
#define NTERM 10
#define MAXALIGN 7
#define SIGN(n) ((vlong)1<<(n-1))
#define SIGN(n) ((
u
vlong)1<<(n-1))
#define MASK(n) (SIGN(n)|(SIGN(n)-1))
#define BITS 5
...
...
src/cmd/clean.bash
View file @
f8b20e40
...
...
@@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
for
i
in
6l 6a 6c 6g gc cc ar db nm blyacc acid
for
i
in
6l 6a 6c 6g gc cc ar db nm blyacc acid
cov prof
do
cd
$i
make clean
...
...
src/cmd/make.bash
View file @
f8b20e40
...
...
@@ -12,7 +12,7 @@ bash mkenam
make enam.o
cd
..
for
i
in
cc 6l 6a 6c gc 6g ar db nm blyacc acid
for
i
in
cc 6l 6a 6c gc 6g ar db nm blyacc acid
cov prof
do
echo
;
echo
;
echo
%%%% making
$i
%%%%
;
echo
cd
$i
...
...
src/cmd/prof/main.c
View file @
f8b20e40
...
...
@@ -321,13 +321,13 @@ main(int argc, char *argv[])
collapse
=
0
;
break
;
case
'd'
:
delta_msec
=
atoi
(
EARGF
(
Usage
));
delta_msec
=
atoi
(
EARGF
(
Usage
()
));
break
;
case
't'
:
total_sec
=
atoi
(
EARGF
(
Usage
));
total_sec
=
atoi
(
EARGF
(
Usage
()
));
break
;
case
'p'
:
pid
=
atoi
(
EARGF
(
Usage
));
pid
=
atoi
(
EARGF
(
Usage
()
));
break
;
case
'f'
:
functions
=
1
;
...
...
src/lib/reflect/typestring.c
View file @
f8b20e40
...
...
@@ -4,7 +4,7 @@
extern
char
gotypestrings
[];
// really a go String, but we don't have the definition here
void
FLUSH
(
void
*
v
)
{
}
void
FLUSH
(
void
*
)
{
}
void
reflect
·
typestrings
(
void
*
s
)
{
s
=
gotypestrings
;
...
...
src/runtime/runtime.c
View file @
f8b20e40
...
...
@@ -674,6 +674,7 @@ memcopy(uint32 s, void *a, void *b)
static
uint64
stringhash
(
uint32
s
,
string
*
a
)
{
USED
(
s
);
return
memhash
((
*
a
)
->
len
,
(
*
a
)
->
str
);
}
...
...
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