[PATCH] D13489: [RS4GC] Use AssertingVH for RematerializedValueMapTy, NFCI

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 14:34:25 PDT 2015


This revision was automatically updated to reflect the committed changes.
Closed by commit rL249620: [RS4GC] Use AssertingVH for RematerializedValueMapTy, NFCI (authored by sanjoy).

Changed prior to commit:
  http://reviews.llvm.org/D13489?vs=36689&id=36797#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D13489

Files:
  llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp

Index: llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
+++ llvm/trunk/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.36797.patch
Type: text/x-patch
Size: 724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151007/565b4e7c/attachment.bin>


More information about the llvm-commits mailing list