File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -266,27 +266,27 @@ typedef struct basicblock_ {
266266
267267
268268static  struct  instr  * 
269- basicblock_last_instr (basicblock  * b ) {
269+ basicblock_last_instr (const   basicblock  * b ) {
270270    if  (b -> b_iused ) {
271271        return  & b -> b_instr [b -> b_iused  -  1 ];
272272    }
273273    return  NULL ;
274274}
275275
276276static  inline  int 
277- basicblock_returns (basicblock  * b ) {
277+ basicblock_returns (const   basicblock  * b ) {
278278    struct  instr  * last  =  basicblock_last_instr (b );
279279    return  last  &&  last -> i_opcode  ==  RETURN_VALUE ;
280280}
281281
282282static  inline  int 
283- basicblock_exits_scope (basicblock  * b ) {
283+ basicblock_exits_scope (const   basicblock  * b ) {
284284    struct  instr  * last  =  basicblock_last_instr (b );
285285    return  last  &&  IS_SCOPE_EXIT_OPCODE (last -> i_opcode );
286286}
287287
288288static  inline  int 
289- basicblock_nofallthrough (basicblock  * b ) {
289+ basicblock_nofallthrough (const   basicblock  * b ) {
290290    struct  instr  * last  =  basicblock_last_instr (b );
291291    return  (last  && 
292292            (IS_SCOPE_EXIT_OPCODE (last -> i_opcode ) || 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments