summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-05 00:49:25 +0000
committerDan Gohman <gohman@apple.com>2009-08-05 00:49:25 +0000
commitc6b5e8a5c5e6f7c42470e87aace633ee03ffc7b1 (patch)
tree9a8b4fed6bd6bff7fa62a4c733bfb727ef5f7242 /clang/lib/CodeGen/CodeGenModule.cpp
parent20f79e321e6346640723106c18afce1163ec044c (diff)
downloadbcm5719-llvm-c6b5e8a5c5e6f7c42470e87aace633ee03ffc7b1.tar.gz
bcm5719-llvm-c6b5e8a5c5e6f7c42470e87aace633ee03ffc7b1.zip
Don't flush the raw_ostream between each MachineFunction. These flush
calls were originally put in place because errs() at one time was not unbuffered, and these print routines are commonly used with errs() for debugging. However, errs() is now properly unbuffered, so the flush calls are no longer needed. This significantly reduces the number of write(2) calls for regular asm printing when there are many small functions. llvm-svn: 78137
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud