File tree Expand file tree Collapse file tree 5 files changed +8
-0
lines changed 
crates/wasmtime/src/runtime Expand file tree Collapse file tree 5 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -30,3 +30,4 @@ tests/all/pulley_provenance_test.cwasm
3030/artifacts 
3131testcase * .wat 
3232testcase * .wasm 
33+ perf.data * 
Original file line number Diff line number Diff line change @@ -943,6 +943,7 @@ impl Func {
943943/// `StoreOpaque` while the `FuncType` is also being used (from the 
944944/// perspective of the borrow-checker) because otherwise the signature would 
945945/// consider `StoreOpaque` borrowed mutable while `FuncType` is in use. 
946+ #[ inline]  
946947    fn  ty_ref < ' a > ( & self ,  store :  & ' a  mut  StoreOpaque )  -> ( & ' a  FuncType ,  & ' a  StoreOpaque )  { 
947948        // If we haven't loaded our type into the store yet then do so lazily at 
948949        // this time. 
@@ -1737,6 +1738,7 @@ impl EntryStoreContext {
17371738/// function through this type's `Drop` implementation. This ensures that we 
17381739/// even restore the values if we unwind the stack (e.g., because we are 
17391740/// panicing out of a Wasm execution). 
1741+ #[ inline]  
17401742    fn  exit_wasm ( & mut  self )  { 
17411743        unsafe  { 
17421744            if  let  Some ( limit)  = self . stack_limit  { 
@@ -1751,6 +1753,7 @@ impl EntryStoreContext {
17511753} 
17521754
17531755impl  Drop  for  EntryStoreContext  { 
1756+     #[ inline]  
17541757    fn  drop ( & mut  self )  { 
17551758        self . exit_wasm ( ) ; 
17561759    } 
Original file line number Diff line number Diff line change 9393/// connected to an asynchronous store. 
9494/// 
9595/// [`Trap`]: crate::Trap 
96+ #[ inline]  
9697    pub  fn  call ( & self ,  mut  store :  impl  AsContextMut ,  params :  Params )  -> Result < Results >  { 
9798        let  mut  store = store. as_context_mut ( ) ; 
9899        assert ! ( 
Original file line number Diff line number Diff line change @@ -2384,6 +2384,7 @@ impl FuncType {
23842384    } 
23852385
23862386    #[ cfg( feature = "gc" ) ]  
2387+     #[ inline]  
23872388    pub ( crate )  fn  as_wasm_func_type ( & self )  -> & WasmFuncType  { 
23882389        self . registered_type . unwrap_func ( ) 
23892390    } 
Original file line number Diff line number Diff line change @@ -835,6 +835,7 @@ impl VMFuncRef {
835835/// 
836836/// Note that the unsafety invariants to maintain here are not currently 
837837/// exhaustively documented. 
838+ #[ inline]  
838839    pub  unsafe  fn  array_call ( 
839840        & self , 
840841        pulley :  Option < InterpreterRef < ' _ > > , 
@@ -869,6 +870,7 @@ impl VMFuncRef {
869870        ) 
870871    } 
871872
873+     #[ inline]  
872874    unsafe  fn  array_call_native ( 
873875        & self , 
874876        caller :  NonNull < VMOpaqueContext > , 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments