Commit f8b20e40 authored by Russ Cox's avatar Russ Cox

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
...@@ -61,7 +61,7 @@ typedef struct Bits Bits; ...@@ -61,7 +61,7 @@ typedef struct Bits Bits;
#define NTERM 10 #define NTERM 10
#define MAXALIGN 7 #define MAXALIGN 7
#define SIGN(n) ((vlong)1<<(n-1)) #define SIGN(n) ((uvlong)1<<(n-1))
#define MASK(n) (SIGN(n)|(SIGN(n)-1)) #define MASK(n) (SIGN(n)|(SIGN(n)-1))
#define BITS 5 #define BITS 5
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Use of this source code is governed by a BSD-style # Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file. # 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 do
cd $i cd $i
make clean make clean
......
...@@ -12,7 +12,7 @@ bash mkenam ...@@ -12,7 +12,7 @@ bash mkenam
make enam.o make enam.o
cd .. 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 do
echo; echo; echo %%%% making $i %%%%; echo echo; echo; echo %%%% making $i %%%%; echo
cd $i cd $i
......
...@@ -321,13 +321,13 @@ main(int argc, char *argv[]) ...@@ -321,13 +321,13 @@ main(int argc, char *argv[])
collapse = 0; collapse = 0;
break; break;
case 'd': case 'd':
delta_msec = atoi(EARGF(Usage)); delta_msec = atoi(EARGF(Usage()));
break; break;
case 't': case 't':
total_sec = atoi(EARGF(Usage)); total_sec = atoi(EARGF(Usage()));
break; break;
case 'p': case 'p':
pid = atoi(EARGF(Usage)); pid = atoi(EARGF(Usage()));
break; break;
case 'f': case 'f':
functions = 1; functions = 1;
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
extern char gotypestrings[]; // really a go String, but we don't have the definition here 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) { void reflect·typestrings(void *s) {
s = gotypestrings; s = gotypestrings;
......
...@@ -674,6 +674,7 @@ memcopy(uint32 s, void *a, void *b) ...@@ -674,6 +674,7 @@ memcopy(uint32 s, void *a, void *b)
static uint64 static uint64
stringhash(uint32 s, string *a) stringhash(uint32 s, string *a)
{ {
USED(s);
return memhash((*a)->len, (*a)->str); return memhash((*a)->len, (*a)->str);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment