summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmtAsm.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-11-12 21:42:53 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-11-12 21:42:53 +0000
commit4b54c8ff1bd77019baa270b1cd9f6a379e3741ab (patch)
treea563c831bbd75de84e4d73cd7085cf55c3fa207d /clang/lib/Sema/SemaStmtAsm.cpp
parent22d688a29c01542bf2a8ada02dce45a0b3ba2044 (diff)
downloadbcm5719-llvm-4b54c8ff1bd77019baa270b1cd9f6a379e3741ab.tar.gz
bcm5719-llvm-4b54c8ff1bd77019baa270b1cd9f6a379e3741ab.zip
Cache size of PassVector to speed up getNumContainedPasses().
getNumContainedPasses() used to compute the size of the vector on demand. It is called repeated in loops (such as runOnFunction()) and it can be updated while inside the loop. llvm-svn: 167759
Diffstat (limited to 'clang/lib/Sema/SemaStmtAsm.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud