diff options
author | Chuck Rose III <cfr@adobe.com> | 2007-07-27 18:26:35 +0000 |
---|---|---|
committer | Chuck Rose III <cfr@adobe.com> | 2007-07-27 18:26:35 +0000 |
commit | 1a39a2d13d8a2bff3c3503d3610b082649217f5b (patch) | |
tree | 6688168fc69680ad4bf89811ca6353444449da61 /llvm/lib/Transforms/Utils/BasicInliner.cpp | |
parent | 8e9869716c3d9860271c9a84d5e6a401d845c0d4 (diff) | |
download | bcm5719-llvm-1a39a2d13d8a2bff3c3503d3610b082649217f5b.tar.gz bcm5719-llvm-1a39a2d13d8a2bff3c3503d3610b082649217f5b.zip |
VStudio compiler errors and placing Function*->ExFunc map under ManagedStatic control.
This commit fixes two things. One is a pair of VStudio compiler errors stemming from variables
which defined within the for loop statement and also within the body of the for loop. I fixed these
by renaming one of the two variables. Additionally, I've made the Function*->ExFunc map in
ExternalFunctions.cpp a ManagedStatic object, so that cleanup will be done on llvm_shutdown. In repeated
uses of the interpreter, where the same Function* address may get used for completely differnet functions,
this was causing a crash.
llvm-svn: 40558
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicInliner.cpp')
0 files changed, 0 insertions, 0 deletions