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;
#define NTERM 10
#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 BITS 5
......
......@@ -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
......
......@@ -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
......
......@@ -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;
......
......@@ -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;
......
......@@ -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);
}
......
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