[PATCH] D13489: [RS4GC] Use AssertingVH for RematerializedValueMapTy, NFCI
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 17:38:53 PDT 2015
sanjoy created this revision.
sanjoy added reviewers: reames, swaroop.sridhar.
sanjoy added a subscriber: llvm-commits.
http://reviews.llvm.org/D13489
Files:
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
Index: lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
===================================================================
--- lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
+++ lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
@@ -159,7 +159,8 @@
// types, then update all the second type to the first type
typedef DenseMap<Value *, Value *> DefiningValueMapTy;
typedef DenseSet<Value *> StatepointLiveSetTy;
-typedef DenseMap<Instruction *, Value *> RematerializedValueMapTy;
+typedef DenseMap<AssertingVH<Instruction>, AssertingVH<Value>>
+ RematerializedValueMapTy;
struct PartiallyConstructedSafepointRecord {
/// The set of values known to be live across this safepoint
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13489.36689.patch
Type: text/x-patch
Size: 691 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151007/b1813438/attachment.bin>
More information about the llvm-commits
mailing list