File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
llvm/lib/ExecutionEngine/JITLink Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -523,7 +523,7 @@ class ELFLinkGraphBuilder_aarch64 : public ELFLinkGraphBuilder<ELFT> {
523523 case ELFTLSDescCall:
524524 return " ELFTLSDescCall" ;
525525 default :
526- return getGenericEdgeKindName (static_cast <Edge::Kind>(R) );
526+ return getGenericEdgeKindName (R );
527527 }
528528 }
529529
Original file line number Diff line number Diff line change @@ -545,7 +545,7 @@ class MachOLinkGraphBuilder_arm64 : public MachOLinkGraphBuilder {
545545 case MachONegDelta64:
546546 return " MachONegDelta64" ;
547547 default :
548- return getGenericEdgeKindName (static_cast <Edge::Kind>(R) );
548+ return getGenericEdgeKindName (R );
549549 }
550550 }
551551
Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ const char *getEdgeKindName(Edge::Kind R) {
8585 case RequestTLSDescEntryAndTransformToPageOffset12:
8686 return " RequestTLSDescEntryAndTransformToPageOffset12" ;
8787 default :
88- return getGenericEdgeKindName (static_cast <Edge::Kind>(R) );
88+ return getGenericEdgeKindName (R );
8989 }
9090}
9191
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ const char *getEdgeKindName(Edge::Kind K) {
137137 case RequestTLSDescInGOTAndTransformToDelta34:
138138 return " RequestTLSDescInGOTAndTransformToDelta34" ;
139139 default :
140- return getGenericEdgeKindName (static_cast <Edge::Kind>(K) );
140+ return getGenericEdgeKindName (K );
141141 }
142142}
143143
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ const char *getEdgeKindName(Edge::Kind K) {
7575 case RequestTLVPAndTransformToPCRel32TLVPLoadREXRelaxable:
7676 return " RequestTLVPAndTransformToPCRel32TLVPLoadREXRelaxable" ;
7777 default :
78- return getGenericEdgeKindName (static_cast <Edge::Kind>(K) );
78+ return getGenericEdgeKindName (K );
7979 }
8080}
8181
You can’t perform that action at this time.
0 commit comments