Revert commit 101503 (johannes), in the hope of fixing the dragonegg build,

see http://google1.osuosl.org:8011/builders/dragonegg-x86_64-linux/builds/693
Original commit text:
Use a ValueMap not a std::map for the reason indicated
in the comment.  This was causing nondeterministic changes
in inlining decisions.

llvm-svn: 101525
This commit is contained in:
Duncan Sands 2010-04-16 19:28:59 +00:00
parent 88599a42bb
commit 7fc8123b37
1 changed files with 1 additions and 4 deletions

View File

@ -18,7 +18,6 @@
#include <climits>
#include <vector>
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/ValueMap.h"
namespace llvm {
@ -165,9 +164,7 @@ namespace llvm {
void analyzeFunction(Function *F);
};
// The Function* for a function can be changed (by ArgumentPromotion);
// the ValueMap will update itself when this happens.
ValueMap<const Function *, FunctionInfo> CachedFunctionInfo;
std::map<const Function *, FunctionInfo> CachedFunctionInfo;
public: