mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:44:58 +00:00
Kernel/KCOV: Bring closer to typical SerenityOS coding style
- Remove a bunch of redundant `this->` - Make class data members private and provide accessors instead
This commit is contained in:
parent
79fbad6df9
commit
91fe6b6552
4 changed files with 44 additions and 39 deletions
|
@ -30,7 +30,7 @@ void __sanitizer_cov_trace_pc(void)
|
|||
return;
|
||||
}
|
||||
auto kcov_instance = maybe_kcov_instance.value();
|
||||
if (kcov_instance->state < KCOVInstance::TRACING) [[likely]]
|
||||
if (kcov_instance->state() < KCOVInstance::TRACING) [[likely]]
|
||||
return;
|
||||
kcov_instance->buffer_add_pc((u64)__builtin_return_address(0));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue