inline analysis and symbol reduction; emits smaller than 64 bytes marked inline
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
1e8b8cce0f
commit
eeda96d94a
35 changed files with 117 additions and 73 deletions
|
@ -8,5 +8,6 @@ pub struct Guard {
|
|||
}
|
||||
|
||||
impl Drop for Guard {
|
||||
#[inline]
|
||||
fn drop(&mut self) { self.capture.stop(); }
|
||||
}
|
||||
|
|
|
@ -17,6 +17,7 @@ struct Visitor {
|
|||
}
|
||||
|
||||
impl Layer {
|
||||
#[inline]
|
||||
pub fn new(state: &Arc<State>) -> Self {
|
||||
Self {
|
||||
state: state.clone(),
|
||||
|
@ -25,6 +26,7 @@ impl Layer {
|
|||
}
|
||||
|
||||
impl fmt::Debug for Layer {
|
||||
#[inline]
|
||||
fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
formatter.debug_struct("capture::Layer").finish()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue