[llvm] r258529 - [RS4GC] Use OB_deopt instead of "deopt"

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 22 11:20:40 PST 2016


Author: sanjoy
Date: Fri Jan 22 13:20:40 2016
New Revision: 258529

URL: http://llvm.org/viewvc/llvm-project?rev=258529&view=rev
Log:
[RS4GC] Use OB_deopt instead of "deopt"

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

Modified: llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp?rev=258529&r1=258528&r2=258529&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp Fri Jan 22 13:20:40 2016
@@ -201,7 +201,8 @@ struct PartiallyConstructedSafepointReco
 static ArrayRef<Use> GetDeoptBundleOperands(ImmutableCallSite CS) {
   assert(UseDeoptBundles && "Should not be called otherwise!");
 
-  Optional<OperandBundleUse> DeoptBundle = CS.getOperandBundle("deopt");
+  Optional<OperandBundleUse> DeoptBundle =
+      CS.getOperandBundle(LLVMContext::OB_deopt);
 
   if (!DeoptBundle.hasValue()) {
     assert(AllowStatepointWithNoDeoptInfo &&




More information about the llvm-commits mailing list