[cfe-commits] only calculate target information once
Sam Bishop
sam at bishop.dhs.org
Thu Mar 13 15:08:31 PDT 2008
Hi, all.
The attached patch moves the target-calculation code out of the file
processing loop in main(). I had thought there might be some other
things that could be lifted out of the loop, but it looks like
everything else changes if the source language changes.
I also added a "delete"; valgrind complains otherwise.
Sam Bishop
-------------- next part --------------
A non-text attachment was scrubbed...
Name: only-compute-target-info-once.patch
Type: application/octet-stream
Size: 1659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20080313/43ed89de/attachment.obj>
More information about the cfe-commits
mailing list