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() {
333333// / Set the callee for the generic call operation, this is required by the call
334334// / interface.
335335void  GenericCallOp::setCalleeFromCallable (CallInterfaceCallable callee) {
336-   (*this )->setAttr (" callee"  , callee. get <SymbolRefAttr>());
336+   (*this )->setAttr (" callee"  , cast <SymbolRefAttr>(callee ));
337337}
338338
339339// / 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() {
333333// / Set the callee for the generic call operation, this is required by the call
334334// / interface.
335335void  GenericCallOp::setCalleeFromCallable (CallInterfaceCallable callee) {
336-   (*this )->setAttr (" callee"  , callee. get <SymbolRefAttr>());
336+   (*this )->setAttr (" callee"  , cast <SymbolRefAttr>(callee ));
337337}
338338
339339// / 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() {
333333// / Set the callee for the generic call operation, this is required by the call
334334// / interface.
335335void  GenericCallOp::setCalleeFromCallable (CallInterfaceCallable callee) {
336-   (*this )->setAttr (" callee"  , callee. get <SymbolRefAttr>());
336+   (*this )->setAttr (" callee"  , cast <SymbolRefAttr>(callee ));
337337}
338338
339339// / 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() {
367367// / Set the callee for the generic call operation, this is required by the call
368368// / interface.
369369void  GenericCallOp::setCalleeFromCallable (CallInterfaceCallable callee) {
370-   (*this )->setAttr (" callee"  , callee. get <SymbolRefAttr>());
370+   (*this )->setAttr (" callee"  , cast <SymbolRefAttr>(callee ));
371371}
372372
373373// / 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