OSDN Git Service

[RS4GC] Use OB_deopt instead of "deopt"
authorSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 22 Jan 2016 19:20:40 +0000 (19:20 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 22 Jan 2016 19:20:40 +0000 (19:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258529 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/RewriteStatepointsForGC.cpp

index cefacbd..7950173 100644 (file)
@@ -201,7 +201,8 @@ struct PartiallyConstructedSafepointRecord {
 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 &&