[RS4GC] Use OB_deopt instead of "deopt"

llvm-svn: 258529
This commit is contained in:
Sanjoy Das 2016-01-22 19:20:40 +00:00
parent 3bd88d4c15
commit acc43d197d
1 changed files with 2 additions and 1 deletions

View 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 &&