Jeff Cohen
184eecfc0e
Minor corrections.
...
llvm-svn: 27042
2006-03-24 03:11:31 +00:00
Jeff Cohen
a38c737e85
When a function takes a variable number of pointer arguments, with a zero
...
pointer marking the end of the list, the zero *must* be cast to the pointer
type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will
not extend the zero to 64 bits, thus allowing the upper 32 bits to be
random junk.
The new END_WITH_NULL macro may be used to annotate a such a function
so that GCC (version 4 or newer) will detect the use of un-casted zero
at compile time.
llvm-svn: 23888
2005-10-23 04:37:20 +00:00
Chris Lattner
0080700e0c
Don't forget these are calls
...
llvm-svn: 21730
2005-05-06 06:21:59 +00:00
Chris Lattner
a667732618
These are legal for tail calls
...
llvm-svn: 21723
2005-05-06 05:59:50 +00:00
Misha Brukman
4e5314bf66
Remove trailing whitespace at the end of lines
...
llvm-svn: 21380
2005-04-20 16:42:34 +00:00
Alkis Evlogimenos
6c5f82ae70
Stop using abegin.
...
llvm-svn: 20609
2005-03-15 07:12:30 +00:00
Misha Brukman
2c024cf4a0
Clean up code layout, delete extra blank line, say fibonacci' instead of
foo'
...
llvm-svn: 17478
2004-11-05 04:11:40 +00:00
Chris Lattner
20cee8ccee
Fix typeo
...
llvm-svn: 17466
2004-11-04 05:00:18 +00:00
Chris Lattner
0a677495c3
Cleanup this example, simplifying it and making it conform to LLVM coding
...
standards
llvm-svn: 17459
2004-11-03 21:43:03 +00:00
Reid Spencer
2739d0d3f1
Correct the file header to reflect the new "examples" home for the file.
...
llvm-svn: 16295
2004-09-11 20:30:11 +00:00
Reid Spencer
8a934d5632
Moved the "SmallExamples" out of the /projects directory and into a new
...
/examples directory. History was maintained. These programs do not need to
be configured but things in /projects must be.
llvm-svn: 16002
2004-08-23 19:28:39 +00:00