(&self, name: &str)
| 292 | } |
| 293 | |
| 294 | fn bump_engine(&self, name: &str) { |
| 295 | match name { |
| 296 | "wasmi" => self.wasmi.fetch_add(1, SeqCst), |
| 297 | "wasmtime" => self.wasmtime.fetch_add(1, SeqCst), |
| 298 | "spec" => self.spec.fetch_add(1, SeqCst), |
| 299 | "v8" => self.v8.fetch_add(1, SeqCst), |
| 300 | "winch" => self.winch.fetch_add(1, SeqCst), |
| 301 | "pulley" => self.pulley.fetch_add(1, SeqCst), |
| 302 | _ => return, |
| 303 | }; |
| 304 | } |
| 305 | } |