File tree Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Expand file tree Collapse file tree 3 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -2244,10 +2244,6 @@ static Attribute::AttrKind getAttrFromCode(uint64_t Code) {
2244
2244
return Attribute::NoExt;
2245
2245
case bitc::ATTR_KIND_CAPTURES:
2246
2246
return Attribute::Captures;
2247
- // case bitc::ATTR_KIND_ALLOW_DIRECT_ACCESS_IN_HOT_PATCH_FUNCTION:
2248
- // return Attribute::AllowDirectAccessInHotPatchFunction;
2249
- // case bitc::ATTR_KIND_MARKED_FOR_WINDOWS_SECURE_HOT_PATCHING:
2250
- // return Attribute::MarkedForWindowsSecureHotPatching;
2251
2247
}
2252
2248
}
2253
2249
Original file line number Diff line number Diff line change @@ -938,10 +938,6 @@ static uint64_t getAttrKindEncoding(Attribute::AttrKind Kind) {
938
938
return bitc::ATTR_KIND_NO_EXT;
939
939
case Attribute::Captures:
940
940
return bitc::ATTR_KIND_CAPTURES;
941
- // case Attribute::AllowDirectAccessInHotPatchFunction:
942
- // return bitc::ATTR_KIND_ALLOW_DIRECT_ACCESS_IN_HOT_PATCH_FUNCTION;
943
- // case Attribute::MarkedForWindowsSecureHotPatching:
944
- // return bitc::ATTR_KIND_MARKED_FOR_WINDOWS_SECURE_HOT_PATCHING;
945
941
case Attribute::EndAttrKinds:
946
942
llvm_unreachable (" Can not encode end-attribute kinds marker." );
947
943
case Attribute::None:
Original file line number Diff line number Diff line change @@ -933,8 +933,6 @@ Function *CodeExtractor::constructFunctionDeclaration(
933
933
case Attribute::CoroDestroyOnlyWhenComplete:
934
934
case Attribute::CoroElideSafe:
935
935
case Attribute::NoDivergenceSource:
936
- // case Attribute::MarkedForWindowsSecureHotPatching:
937
- // case Attribute::AllowDirectAccessInHotPatchFunction:
938
936
continue ;
939
937
// Those attributes should be safe to propagate to the extracted function.
940
938
case Attribute::AlwaysInline:
You can’t perform that action at this time.
0 commit comments