File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ CallInterfaceCallable GenericCallOp::getCallableForCallee() {
333
333
// / Set the callee for the generic call operation, this is required by the call
334
334
// / interface.
335
335
void GenericCallOp::setCalleeFromCallable (CallInterfaceCallable callee) {
336
- (*this )->setAttr (" callee" , callee. get <SymbolRefAttr>());
336
+ (*this )->setAttr (" callee" , cast <SymbolRefAttr>(callee ));
337
337
}
338
338
339
339
// / Get the argument operands to the called function, this is required by the
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ CallInterfaceCallable GenericCallOp::getCallableForCallee() {
333
333
// / Set the callee for the generic call operation, this is required by the call
334
334
// / interface.
335
335
void GenericCallOp::setCalleeFromCallable (CallInterfaceCallable callee) {
336
- (*this )->setAttr (" callee" , callee. get <SymbolRefAttr>());
336
+ (*this )->setAttr (" callee" , cast <SymbolRefAttr>(callee ));
337
337
}
338
338
339
339
// / Get the argument operands to the called function, this is required by the
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ CallInterfaceCallable GenericCallOp::getCallableForCallee() {
333
333
// / Set the callee for the generic call operation, this is required by the call
334
334
// / interface.
335
335
void GenericCallOp::setCalleeFromCallable (CallInterfaceCallable callee) {
336
- (*this )->setAttr (" callee" , callee. get <SymbolRefAttr>());
336
+ (*this )->setAttr (" callee" , cast <SymbolRefAttr>(callee ));
337
337
}
338
338
339
339
// / Get the argument operands to the called function, this is required by the
Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ CallInterfaceCallable GenericCallOp::getCallableForCallee() {
367
367
// / Set the callee for the generic call operation, this is required by the call
368
368
// / interface.
369
369
void GenericCallOp::setCalleeFromCallable (CallInterfaceCallable callee) {
370
- (*this )->setAttr (" callee" , callee. get <SymbolRefAttr>());
370
+ (*this )->setAttr (" callee" , cast <SymbolRefAttr>(callee ));
371
371
}
372
372
373
373
// / Get the argument operands to the called function, this is required by the
You can’t perform that action at this time.
0 commit comments