diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-04-14 14:00:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-14 17:00:10 -0400 |
commit | 4501fb8b467cd40da5e160b82db7ea1a10d9e7ca (patch) | |
tree | da36a1703c584d45de5286d8a94cb985743e5341 /yjit/src/stats.rs | |
parent | d83e59e6b8b52002cc46a14d7d4dc69416379029 (diff) | |
download | ruby-4501fb8b467cd40da5e160b82db7ea1a10d9e7ca.tar.gz |
YJIT: Introduce Target::SideExit (#7712)
* YJIT: Introduce Target::SideExit
* YJIT: Obviate Insn::SideExitContext
* YJIT: Avoid cloning a Context for each insn
Diffstat (limited to 'yjit/src/stats.rs')
-rw-r--r-- | yjit/src/stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit/src/stats.rs b/yjit/src/stats.rs index 51ea050c23..f624cf8f0a 100644 --- a/yjit/src/stats.rs +++ b/yjit/src/stats.rs @@ -135,7 +135,7 @@ macro_rules! make_counters { /// Enum to represent a counter #[allow(non_camel_case_types)] - #[derive(Clone, Copy)] + #[derive(Clone, Copy, PartialEq, Eq, Debug)] pub enum Counter { $($counter_name),+ } impl Counter { |