diff options
author | Philip Reames <listmail@philipreames.com> | 2015-02-20 22:48:20 +0000 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2015-02-20 22:48:20 +0000 |
commit | e9c3b9bd46cd90b8d0eda6b32f27cc80ae60f7b2 (patch) | |
tree | 88321f2647e67586587c486f5e73f793ea6b53ac /llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | |
parent | d02d1e0a04d365f57e5b88e345209c0526dbff08 (diff) | |
download | bcm5719-llvm-e9c3b9bd46cd90b8d0eda6b32f27cc80ae60f7b2.tar.gz bcm5719-llvm-e9c3b9bd46cd90b8d0eda6b32f27cc80ae60f7b2.zip |
[RewriteStatepointsForGC] Replace std::map with DenseMap
I'd done the work of extracting the typedef in a previous commit, but didn't actually change it. Hopefully this will make any subtle changes easier to isolate.
llvm-svn: 230081
Diffstat (limited to 'llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp index 041f405ca48..51354522e3f 100644 --- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp +++ b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp @@ -95,7 +95,7 @@ namespace { // Generally, after the execution of a full findBasePointer call, only the // base relation will remain. Internally, we add a mixture of the two // types, then update all the second type to the first type -typedef std::map<Value *, Value *> DefiningValueMapTy; +typedef DenseMap<Value *, Value *> DefiningValueMapTy; typedef std::set<llvm::Value *> StatepointLiveSetTy; struct PartiallyConstructedSafepointRecord { @@ -584,7 +584,7 @@ private: Value *base; // non null only if status == base }; -typedef std::map<Value *, PhiState> ConflictStateMapTy; +typedef DenseMap<Value *, PhiState> ConflictStateMapTy; // Values of type PhiState form a lattice, and this is a helper // class that implementes the meet operation. The meat of the meet // operation is implemented in MeetPhiStates::pureMeet |