File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -415,7 +415,7 @@ JL_DLLEXPORT jl_code_instance_t *jl_new_codeinst(
415415        assert (const_flags  &  2 );
416416        jl_atomic_store_relaxed (& codeinst -> invoke , jl_fptr_const_return );
417417    }
418-     codeinst -> specsigflags   =   0 ;
418+     jl_atomic_store_relaxed ( & codeinst -> specsigflags ,  0 ) ;
419419    jl_atomic_store_relaxed (& codeinst -> precompile , 0 );
420420    jl_atomic_store_relaxed (& codeinst -> next , NULL );
421421    codeinst -> ipo_purity_bits  =  ipo_effects ;
@@ -2197,7 +2197,7 @@ jl_code_instance_t *jl_compile_method_internal(jl_method_instance_t *mi, size_t
21972197            ucache_invoke  =  jl_atomic_load_relaxed (& ucache -> invoke );
21982198        }
21992199        // unspec is always not specsig, but might use specptr 
2200-         codeinst -> specsigflags   =   jl_atomic_load_relaxed (& ucache -> specsigflags ) &  0b10 ;
2200+         jl_atomic_store_relaxed ( & codeinst -> specsigflags ,  jl_atomic_load_relaxed (& ucache -> specsigflags ) &  0b10 ) ;
22012201        jl_atomic_store_relaxed (& codeinst -> specptr .fptr , unspec_fptr );
22022202        codeinst -> rettype_const  =  ucache -> rettype_const ;
22032203        jl_atomic_store_release (& codeinst -> invoke , ucache_invoke );
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments