summaryrefslogtreecommitdiffstats
path: root/llvm/examples/ParallelJIT/ParallelJIT.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Minor corrections.Jeff Cohen2006-03-241-1/+2
| | | | llvm-svn: 27042
* When a function takes a variable number of pointer arguments, with a zeroJeff Cohen2005-10-231-2/+4
| | | | | | | | | | | | | 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
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-55/+55
| | | | llvm-svn: 22523
* Get rid of warnings on AlphaReid Spencer2005-07-131-4/+4
| | | | llvm-svn: 22428
* For PR418:Reid Spencer2005-07-121-0/+295
Add an example program that utilizes multiple threads in the JIT to process work. This was used by Evan Jones as the original test case for ensuring that the ExecutionEngine was thread safe. Original source by Evan Jones (adapted from other LLVM JIT examples) and made LLVM style compliant by Reid Spencer. llvm-svn: 22411
OpenPOWER on IntegriCloud